Information about a single import statement

interface ImportInfo {
    importType:
        | "default"
        | "named"
        | "namespace"
        | "side-effect";
    importedNames: string[];
    isTypeOnly: boolean;
    rawImportPath: string;
    sourcePath: string;
    targetPath: string;
}

Properties

importType:
    | "default"
    | "named"
    | "namespace"
    | "side-effect"
importedNames: string[]
isTypeOnly: boolean
rawImportPath: string
sourcePath: string
targetPath: string