Skip to content

Converting codebase to TypeScript

Converting JS to TypeScript — Syntax Podcast 573

// @ts-check on a JS file

Working with JavaScript in Visual Studio Code

There's also a global VSCode setting!

![[image-20230222113942683.png]]

Tool to decide which files you should convert to TS first - GitHub - codemix/deprank: Use PageRank to find the most important files in your codebase.

Install type packages for everything in your package.json - GitHub - jeffijoe/typesync: Install missing TypeScript typings for dependencies in your package.json.

pnpm patch | pnpm

Total TypeScript VSCode plugin


Last update: 2023-04-24