knip
Version: 
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
13 lines (12 loc) • 321 B
TypeScript
import type ts from 'typescript';
export interface ImportNode {
    specifier: string;
    identifier: string | undefined;
    alias?: string | undefined;
    namespace?: string | undefined;
    pos: number | undefined;
    symbol?: ts.Symbol;
    isTypeOnly?: boolean;
    isReExport?: boolean;
    resolve?: boolean;
}