UNPKG

@stryke/fs

Version:

A package containing various file system utilities that expand the functionality of NodeJs's built-in `fs` module.

9 lines (8 loc) 365 B
import type { TsConfigJson } from "@stryke/types/tsconfig"; /** * Loads a tsconfig.json file and returns the parsed JSON object. * * @param filePath - The directory to start searching for the tsconfig.json file. * @returns The parsed tsconfig.json object or null if not found. */ export declare function loadTsConfig(filePath?: string): Promise<TsConfigJson>;