persona-community-5/.pnpm-store/v3/files/d0/73b83b16f5f6f153b56c46bbb20b1925975165c6dc80bd5288f30995f06a2ef4f9a8155ef4394c145345f92c48613a2f62cbfe83454cc0ce3a515244152138
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

16 lines
851 B
Plaintext

import * as ts from 'typescript';
import type { ASTAndDefiniteProgram } from './shared';
export interface ProvidedProgramsSettings {
filePath: string;
tsconfigRootDir: string;
}
declare function useProvidedPrograms(programInstances: Iterable<ts.Program>, { filePath, tsconfigRootDir }: ProvidedProgramsSettings): ASTAndDefiniteProgram | 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