microsoft / microsoft/TypeScript
Migration suggestions after *introducing* a .ts file
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
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
@typesdependencies for packages that need them.
@mjbvz @amcasey
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reading #24713 and the discussion with @chrisdias to establish the intended migration scenarios, then scope whether generating tsconfig.json and installing @types dependencies are both required. Done means the chosen behavior is specified and covered for introducing .ts files and migrating existing .js files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100