@augment-vir/node
Version:
A collection of augments, helpers types, functions, and classes only for Node.js (backend) JavaScript environments.
13 lines (12 loc) • 454 B
TypeScript
/**
* Finds the closest `tsconfig.json` file and parses it.
*
* @category Path : Node
* @category Package : @augment-vir/node
* @returns `undefined` if no tsconfig was found or if a found tsconfig fails to parse.
* @package [`@augment-vir/node`](https://www.npmjs.com/package/@augment-vir/node)
*/
export declare function readTsconfig(startingPath: string): {
tsconfig: import("typescript").ParsedCommandLine;
path: string;
} | undefined;