dsherret / dsherret/ts-morph

How to find missing imports in sourceFlie?

Open
#1,329 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.