Skip to main content

Module results

Module results 

Source
Expand description

Analysis result types: unused files, exports, dependencies, and members. Analysis result types for all issue categories.

Structs§

AnalysisResults
Complete analysis results.
CircularDependency
A circular dependency chain detected in the module graph.
DuplicateExport
An export that appears multiple times across the project.
DuplicateLocation
A location where a duplicate export appears.
ExportUsage
Usage count for an export symbol. Used by the LSP Code Lens to show reference counts above each export declaration.
ImportSite
A location where an import occurs.
ReferenceLocation
A location where an export is referenced (import site in another file).
TypeOnlyDependency
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.
UnlistedDependency
A dependency used in code but not listed in package.json.
UnresolvedImport
An import that could not be resolved.
UnusedDependency
A dependency that is listed in package.json but never imported.
UnusedExport
An export that is never imported by other modules.
UnusedFile
A file that is not reachable from any entry point.
UnusedMember
An unused enum or class member.

Enums§

DependencyLocation
Where in package.json a dependency is listed.