2 ms·
TypeScript is not the only way to achieve that. Google closure compiler and JetBrains IDEs can use JSdoc to validate types. I have used those to a reasonable l
by 29athrowaway 6y ago
TypeScript is not the only way to achieve that.
Google closure compiler and JetBrains IDEs can use JSdoc to validate types. I have used those to a reasonable level of accuracy to document entire JavaScript projects where I cannot migrate to TypeScript.
- WClayFerguson 6y agoExcellent. Rock on man. I never thought I'd be a Microsoft fan again, but after they invented TypeScript/VSCode, I love them so much I might move to Redmond.