UNPKG

803 BTypeScriptView Raw
1import { SourceFile } from './index';
2/**
3 * @public
4 * Get all the `SourceFiles` included in a the TypeScript project described by a given config file.
5 *
6 * @param configFilePath - the path to the TypeScript config file, or a directory containing a `tsconfig.json` file.
7 * @returns an `Array` of the `SourceFiles` for all files in the project.
8 */
9export declare function project(configFilePath: string): Array<SourceFile>;
10/**
11 * @public
12 * Get all the file paths included ina the TypeScript project described by a given config file.
13 *
14 * @param configFilePath - the path to the TypeScript config file, or a directory containing a `tsconfig.json` file.
15 * @returns an `Array` of the file paths for all files in the project.
16 */
17export declare function files(configFilePath: string): Array<string>;