UNPKG

@visulima/tsconfig

Version:

Find and/or parse the tsconfig.json file from a directory path.

14 lines (13 loc) 581 B
import type { TsConfigJsonResolved } from "./types.d.ts"; export type Options = { /** * Make the configuration compatible with the specified TypeScript version. * * When `true`, it will make the configuration compatible with the latest TypeScript version. * @default undefined */ tscCompatible?: "5.3" | "5.4" | "5.5" | "5.6" | true; }; export declare const configDirectoryPlaceholder: string; export declare const implicitBaseUrlSymbol: symbol; export declare const readTsConfig: (tsconfigPath: string, options?: Options) => TsConfigJsonResolved;