.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / typescript-estree / dist / create-program / createWatchProgram.d.ts
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 clearCaches(): 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 { clearCaches, createWatchProgram, getProgramsForProjects };
19 //# sourceMappingURL=createWatchProgram.d.ts.map