UNPKG

@mnrendra/read-tsconfig

Version:

Read tsconfig.json file in your project.

24 lines (20 loc) 783 B
import { TSConfig } from '@mnrendra/types-tsconfig'; export { BaseURL, BuildOptions, CompileOnSave, CompilerOptions, Exclude, Extends, Files, Include, MDX, Paths, References, TSConfig, TSNode, TypeAcquisition, WatchOptions } from '@mnrendra/types-tsconfig'; /** * Read `tsconfig.json` file asynchronously. * * @returns {Promise<TSConfig>} `tsconfig.json` JSON value. * * @see https://github.com/mnrendra/read-tsconfig#readme */ declare const main$1: () => Promise<TSConfig>; /** * Read `tsconfig.json` file synchronously. * * @returns {TSConfig} `tsconfig.json` JSON value. * * @see https://github.com/mnrendra/read-tsconfig#readme */ declare const main: () => TSConfig; export { main$1 as readTSConfig, main as readTSConfigSync }; //# sourceMappingURL=index.d.ts.map