Prompt DevOps

Add TypeScript to a Project

Convert a JavaScript project to TypeScript with proper configuration.

typescriptnode
Insert label Add TypeScript
Prompt

Add TypeScript to this project. Install dependencies, create a tsconfig.json with strict settings, rename files from .js to .ts/.tsx, and add types. Start with the most-imported files and work outward. Use real types, not any. Make sure the build still works after each file conversion.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl