I agree with the result of transpilation of TS, it does not give a high quality code, not to mention how it does the handling of numbers. It is a big problem not to worry about which is the true code that V8 will receive
Just add Babel into compilation process. TypeScript's compiler is not so great at generating code for the browser, especially if you use some newer features.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I agree with the result of transpilation of TS, it does not give a high quality code, not to mention how it does the handling of numbers. It is a big problem not to worry about which is the true code that V8 will receive
Just add Babel into compilation process. TypeScript's compiler is not so great at generating code for the browser, especially if you use some newer features.