1 | import * as ts from 'typescript';
|
2 | import { Extra } from '../parser-options';
|
3 | /**
|
4 | * Clear all of the parser caches.
|
5 | * This should only be used in testing to ensure the parser is clean between tests.
|
6 | */
|
7 | declare function clearWatchCaches(): void;
|
8 | /**
|
9 | * Calculate project environments using options provided by consumer and paths from config
|
10 | * @param code The code being linted
|
11 | * @param filePathIn The path of the file being parsed
|
12 | * @param extra.tsconfigRootDir The root directory for relative tsconfig paths
|
13 | * @param extra.projects Provided tsconfig paths
|
14 | * @returns The programs corresponding to the supplied tsconfig paths
|
15 | */
|
16 | declare function getProgramsForProjects(code: string, filePathIn: string, extra: Extra): ts.Program[];
|
17 | declare function createWatchProgram(tsconfigPath: string, extra: Extra): ts.WatchOfConfigFile<ts.BuilderProgram>;
|
18 | export { clearWatchCaches, createWatchProgram, getProgramsForProjects };
|
19 | //# sourceMappingURL=createWatchProgram.d.ts.map |
\ | No newline at end of file |