Sha256: 497cd8f7db43408cadbfd625a2dfbca4a50c8a9bb4d2891b84fb2d4d494ae570

Contents?: true

Size: 1.02 KB

Versions: 17

Compression:

Stored size: 1.02 KB

Contents

/**
 * Typing for the parts of tsconfig that we care about
 */
export interface Tsconfig {
    extends?: string;
    compilerOptions?: {
        baseUrl?: string;
        paths?: {
            [key: string]: Array<string>;
        };
        strict?: boolean;
    };
}
export interface TsConfigLoaderResult {
    tsConfigPath: string | undefined;
    baseUrl: string | undefined;
    paths: {
        [key: string]: Array<string>;
    } | undefined;
}
export interface TsConfigLoaderParams {
    getEnv: (key: string) => string | undefined;
    cwd: string;
    loadSync?(cwd: string, filename?: string, baseUrl?: string): TsConfigLoaderResult;
}
export declare function tsConfigLoader({ getEnv, cwd, loadSync, }: TsConfigLoaderParams): TsConfigLoaderResult;
export declare function walkForTsConfig(directory: string, existsSync?: (path: string) => boolean): string | undefined;
export declare function loadTsconfig(configFilePath: string, existsSync?: (path: string) => boolean, readFileSync?: (filename: string) => string): Tsconfig | undefined;

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.22 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.21 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.20 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.19 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.18 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.17 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.16 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.14 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.13 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.12 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.11 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.10 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.9 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.8 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.7 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
immosquare-cleaner-0.1.6 node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts
decidim-0.26.8 packages/eslint-config/node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts