mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-06 21:09:14 +08:00
13 lines
No EOL
733 B
Text
13 lines
No EOL
733 B
Text
import * as ts from 'typescript';
|
|
import { Extra } from '../parser-options';
|
|
import { ASTAndProgram } from './shared';
|
|
declare function useProvidedPrograms(programInstances: Iterable<ts.Program>, extra: Extra): ASTAndProgram | undefined;
|
|
/**
|
|
* Utility offered by parser to help consumers construct their own program instance.
|
|
*
|
|
* @param configFile the path to the tsconfig.json file, relative to `projectDirectory`
|
|
* @param projectDirectory the project directory to use as the CWD, defaults to `process.cwd()`
|
|
*/
|
|
declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program;
|
|
export { useProvidedPrograms, createProgramFromConfigFile };
|
|
//# sourceMappingURL=useProvidedPrograms.d.ts.map |