Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration suggestions after *introducing* a .ts file #24714

Open
DanielRosenwasser opened this issue Jun 6, 2018 · 1 comment
Open

Migration suggestions after *introducing* a .ts file #24714

DanielRosenwasser opened this issue Jun 6, 2018 · 1 comment
Labels
Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature Needs Proposal This issue needs a plan that clarifies the finer details of how it could be implemented. Suggestion An idea for TypeScript

Comments

@DanielRosenwasser
Copy link
Member

DanielRosenwasser commented Jun 6, 2018

After I brought #24713 up with @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.

@mjbvz @amcasey

@mhegazy
Copy link
Contributor

mhegazy commented 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.

@mhegazy mhegazy added the Suggestion An idea for TypeScript label Jun 6, 2018
@weswigham weswigham added In Discussion Not yet reached consensus Needs Proposal This issue needs a plan that clarifies the finer details of how it could be implemented. labels Nov 6, 2018
@RyanCavanaugh RyanCavanaugh removed In Discussion Not yet reached consensus labels Mar 7, 2019
@DanielRosenwasser DanielRosenwasser added the Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature label Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature Needs Proposal This issue needs a plan that clarifies the finer details of how it could be implemented. Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

4 participants