UNPKG

nx

Version:

Smart, Fast and Extensible Build System

12 lines (11 loc) 549 B
import { DependencyType } from '../../config/project-graph'; export declare class TypeScriptImportLocator { private readonly scanner; constructor(); fromFile(filePath: string, visitor: (importExpr: string, filePath: string, type: DependencyType) => void): void; fromNode(filePath: string, node: any, visitor: (importExpr: string, filePath: string, type: DependencyType) => void): void; private ignoreStatement; private ignoreLoadChildrenDependency; private getPropertyAssignmentName; private getStringLiteralValue; }