UNPKG

hades-cli

Version:
25 lines (24 loc) 591 B
import { SourceFile } from 'ts-morph'; export declare class ImportDriver { /** * Create import in file * * @param sourceFile * @param modules * @param path */ static createImportItems(sourceFile: SourceFile, items: string[], path: string): void; /** * From the items array, only non-repeating items are returned. * * @param sourceFile * @param moduleNames */ private static getUniqueImportItems; /** * Return import paths from source * * @param sourceFile */ private static getImportPaths; }