Expand description
Analysis result types: unused files, exports, dependencies, and members. Analysis result types for all dead code issue categories.
Structs§
- Analysis
Results - Complete analysis results.
- Circular
Dependency - A circular dependency chain detected in the module graph.
- Duplicate
Export - An export that appears multiple times across the project.
- Export
Usage - Usage count for an export symbol. Used by the LSP Code Lens to show reference counts above each export declaration.
- Reference
Location - A location where an export is referenced (import site in another file).
- Type
Only Dependency - A production dependency that is only used via type-only imports. In production builds, type imports are erased, so this dependency is not needed at runtime and could be moved to devDependencies.
- Unlisted
Dependency - A dependency used in code but not listed in package.json.
- Unresolved
Import - An import that could not be resolved.
- Unused
Dependency - A dependency that is listed in package.json but never imported.
- Unused
Export - An export that is never imported by other modules.
- Unused
File - A file that is not reachable from any entry point.
- Unused
Member - An unused enum or class member.
Enums§
- Dependency
Location - Where in package.json a dependency is listed.