mockdeep / typewiz

Automatically discover and add missing types in your TypeScript code
https://medium.com/@urish/manual-typing-is-no-fun-introducing-typewiz-58e3e8813f4c
1.1k stars 46 forks source link

Add type-checking comments to existing JS files #71

Open howiempt opened 6 years ago

howiempt commented 6 years ago

Use the @ts-check style comments to add type checking to existing JS files without converting to TypeScript:

Type Checking JavaScript Files

This would allow a smooth transition for large projects without completely switching to TypeScript in one hit.