1 | import type { CompilerOptions } from 'typescript';
|
2 | export declare function getExistFile({ cwd, files, returnRelative, }: {
|
3 | cwd: string;
|
4 | files: string[];
|
5 | returnRelative?: boolean;
|
6 | }): string | void;
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export declare function checkTSConfigIsExist(cwd?: string): boolean;
|
12 | export declare function tryDefault(obj: any): any;
|
13 |
|
14 |
|
15 |
|
16 | export declare function parseMappingArgument(globalStrings: string, processValue?: (v: string, k: string) => string[] | string | void): {};
|
17 | export declare function getTsConfigPath(cwd: string, rootPath?: string): string;
|
18 |
|
19 |
|
20 |
|
21 | export declare function getParsedTSConfig(cwd: string, rootPath?: string): CompilerOptions;
|
22 |
|
23 |
|
24 |
|
25 | export declare function getNodeModulePKG<T = {}>(moduleName: string): {
|
26 | default: T | undefined;
|
27 | version?: string;
|
28 | };
|