minor adjustment to readme
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / typescript-estree / dist / tsconfig-parser.d.ts
1 import * as ts from 'typescript';
2 import { Extra } from './parser-options';
3 /**
4  * Default compiler options for program generation from single root file
5  */
6 export declare const defaultCompilerOptions: ts.CompilerOptions;
7 /**
8  * Clear all of the parser caches.
9  * This should only be used in testing to ensure the parser is clean between tests.
10  */
11 export declare function clearCaches(): void;
12 /**
13  * Calculate project environments using options provided by consumer and paths from config
14  * @param code The code being linted
15  * @param filePath The path of the file being parsed
16  * @param extra.tsconfigRootDir The root directory for relative tsconfig paths
17  * @param extra.projects Provided tsconfig paths
18  * @returns The programs corresponding to the supplied tsconfig paths
19  */
20 export declare function calculateProjectParserOptions(code: string, filePath: string, extra: Extra): ts.Program[];
21 /**
22  * Create program from single root file. Requires a single tsconfig to be specified.
23  * @param code The code being linted
24  * @param filePath The file being linted
25  * @param extra.tsconfigRootDir The root directory for relative tsconfig paths
26  * @param extra.projects Provided tsconfig paths
27  * @returns The program containing just the file being linted and associated library files
28  */
29 export declare function createProgram(code: string, filePath: string, extra: Extra): ts.Program | undefined;
30 //# sourceMappingURL=tsconfig-parser.d.ts.map