1 | import * as ts from 'typescript';
|
2 | import { Extra } from '../parser-options';
|
3 | import { ASTAndProgram } from './shared';
|
4 | declare function useProvidedPrograms(programInstances: Iterable<ts.Program>, extra: Extra): ASTAndProgram | undefined;
|
5 | /**
|
6 | * Utility offered by parser to help consumers construct their own program instance.
|
7 | *
|
8 | * @param configFile the path to the tsconfig.json file, relative to `projectDirectory`
|
9 | * @param projectDirectory the project directory to use as the CWD, defaults to `process.cwd()`
|
10 | */
|
11 | declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program;
|
12 | export { useProvidedPrograms, createProgramFromConfigFile };
|
13 | //# sourceMappingURL=useProvidedPrograms.d.ts.map |
\ | No newline at end of file |