Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
12 lines
674 B
Plaintext
12 lines
674 B
Plaintext
import * as ts from 'typescript';
|
|
import type { ParseSettings } from '../parseSettings';
|
|
import type { ASTAndDefiniteProgram } from './shared';
|
|
export declare function useProvidedPrograms(programInstances: Iterable<ts.Program>, parseSettings: ParseSettings): ASTAndDefiniteProgram;
|
|
/**
|
|
* 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()`
|
|
*/
|
|
export declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program;
|