How to find missing imports in sourceFlie?
Open
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 238
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
I want to find all `Identifier`s that missing imports in the `sourceFile`. not to fix them, but to get them as `nodes`.
Is this something possible to do with ts-morph?
Contributor guide
Research direction
No file, test, or entry point is identified. Start by reading ts-morph's SourceFile and Identifier APIs alongside the TypeScript Compiler API; done means locating Identifier nodes with missing imports without modifying the source file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100