Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My approach here would be to make an index.html file with a script tag and drag it onto whatever browser is available. Then again I have made peace with JavaScript!

(I think you could even use typescript with this method with the on the fly babel transpiler (you just include a script tag) but I haven't tried that.)



You'll lose the benefit of the TypeScript compiler picking up mismatched types if you only use a transpiler.


Interesting, the in-browser one doesn't do type checking? They're actually adding that to JS itself as far as I can tell -- the ability to strip TS types and run it as-is.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: