knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
11 lines (10 loc) • 329 B
TypeScript
import type ts from 'typescript';
export interface ImportNode {
readonly specifier: string;
readonly identifier: string | undefined;
readonly alias: string | undefined;
readonly namespace: string | undefined;
readonly pos: number;
readonly symbol: ts.Symbol | undefined;
readonly modifiers: number;
}