UNPKG

eslint-plugin-export-scope

Version:

Don't leak LOCAL utils, states, components into the global scope

10 lines (9 loc) 384 B
import { type Program } from "typescript"; export declare const SCOPE_TS_FILE_NAME = ".scope.ts"; export declare const SCOPE_JS_FILE_NAME = ".scope.js"; export declare const checkIsImportable: ({ tsProgram, importPath, exportPath, exportName, }: { tsProgram: Program; importPath: string | undefined; exportPath: string | undefined; exportName?: string; }) => boolean;