15815213711
2024-08-26 67b8b6731811983447e053d4396b3708c14dfe3c
1
2
3
4
5
6
7
8
9
10
11
/** Load a typescript configuration file.
 * For speed, the typescript file is transpiled to javascript and cached.
 *
 * @param T type of default export value in the configuration file
 * @param outDir location to store the compiled javascript.
 *  Defaults to $HOME/.cache/config-file-ts/<ts-file-path>/
 * @returns the default exported value from the configuration file or undefined
 */
export declare function loadTsConfig<T>(tsFile: string, outDir?: string | undefined, strict?: boolean): T | undefined;
/** @return the directory that will be used to store transpilation output. */
export declare function defaultOutDir(tsFile: string, programName?: string): string;