DEV Community

Discussion on: Standardizing TypeScript with NPM, ESLint, and Prettier

Collapse
 
armplinker_38 profile image
Allen R. Marshall

Thank you for this article. It has piqued my interest, particularly the enforcement of strict typing.

Do I understand correctly that any references to 'onclick' and similar in for HTML elements such as buttons should be moved into a backing js file which then TS can process to garner the stated benefits? This seems like a lot of work for a creaky old legacy app.... is there a conversion tool for js >>> ts?