tsconfig.d.ts 730 B

12345678910111213
  1. export interface LoadResult {
  2. path?: string;
  3. config: any;
  4. }
  5. export declare function resolve(cwd: string, filename?: string): Promise<string | void>;
  6. export declare function resolveSync(cwd: string, filename?: string): string | void;
  7. export declare function find(dir: string): Promise<string | void>;
  8. export declare function findSync(dir: string): string | void;
  9. export declare function load(cwd: string, filename?: string): Promise<LoadResult>;
  10. export declare function loadSync(cwd: string, filename?: string): LoadResult;
  11. export declare function readFile(filename: string): Promise<any>;
  12. export declare function readFileSync(filename: string): any;
  13. export declare function parse(contents: string, filename: string): any;