Resolve more declaration file types at build time
Open
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 238
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
Should be possible to resolve some of the types in ts-morph's declaration file and resolve them at build time. This would help people's editors resolve types slightly faster.
For example, `NodeParentType` could probably be inlined.
Contributor guide
Research direction
Start by locating ts-morph's declaration file generation or build-time type-resolution entry points, then inspect how NodeParentType is represented. Identify which additional declaration types can be resolved safely during the build and compare editor type-resolution performance before and after; done means the selected types are inlined without changing their public meaning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100