html to typescript