You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migration suggestions after *introducing* a .ts file #24714
After I brought #24713 up with Chris Dias (@chrisdias), he mentioned his thinking was more about the "I'm going to introduce a .ts file into a JS project" scenario. I think once you have some .ts files around a project, you're going to want to migrate the .js files eventually too, so both scenarios are valid.
But things we could do include
Generating a tsconfig.json
Installing @types dependencies for packages that need them.
Activity
mhegazy commentedon Jun 6, 2018
We have a similar feature in VS, where adding the first .ts file causes the addition of TypeScript MSBuild targets to the project.