read-tsconfig-up
Version:
Find up and read `tsconfig.json` file
11 lines (10 loc) • 325 B
TypeScript
import { ReadOptions } from 'read-tsconfig';
interface ResultContext {
tsconfig: {};
path: string;
}
declare function readTsconfigUp(options?: ReadOptions): Promise<ResultContext>;
declare namespace readTsconfigUp {
var sync: (options?: ReadOptions | undefined) => ResultContext;
}
export default readTsconfigUp;