eslint-plugin-export-scope
Version:
Don't leak LOCAL utils, states, components into the global scope
9 lines (8 loc) • 501 B
TypeScript
export declare const getFileTree: (dir: string, extensions?: string[]) => {
filePaths: string[];
dirPaths: string[];
};
export declare const getPathOfTheNearestConfig: (originPath: string, configFileName: string | string[]) => string | null | undefined;
export declare const getRootDir: (originPath: string) => string | null;
export declare const getFullScopePath: (exportDir: string, scope: string) => string | null;
export declare const isSubPath: (path1: string, path2: string) => boolean;