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.
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.