Some may argue that they wouldn’t need types because they already have tests. Some may question whether the benefit would really outweigh the TypeScript tax. Some may have had bad experience with earlier versions of TypeScript before. And there are many outdated opinion pieces everywhere.
But adopting TypeScript doesn’t have to be a big, all-or-none effort.
This is what I discuss about in this talk. It also contains real-world examples which is kinda hard to convey just in text.
jsconfig.json for improved code actions and automatic refactoring.
.js file unmodified.
.d.ts file to declare modules and global variables.
Note: The talk is in Thai language but I added English captions, and all slides are in English.
Hope you find it useful, and thanks for watching! Also, please consider subscribing to my YouTube channel for more content.