.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / typescript-estree / dist / create-program / shared.d.ts
1 import * as ts from 'typescript';
2 import { Extra } from '../parser-options';
3 interface ASTAndProgram {
4     ast: ts.SourceFile;
5     program: ts.Program;
6 }
7 declare function createDefaultCompilerOptionsFromExtra(extra: Extra): ts.CompilerOptions;
8 declare type CanonicalPath = string & {
9     __brand: unknown;
10 };
11 declare function getCanonicalFileName(filePath: string): CanonicalPath;
12 declare function ensureAbsolutePath(p: string, extra: Extra): string;
13 declare function getTsconfigPath(tsconfigPath: string, extra: Extra): CanonicalPath;
14 declare function canonicalDirname(p: CanonicalPath): CanonicalPath;
15 declare function getScriptKind(extra: Extra, filePath?: string): ts.ScriptKind;
16 export { ASTAndProgram, canonicalDirname, CanonicalPath, createDefaultCompilerOptionsFromExtra, ensureAbsolutePath, getCanonicalFileName, getScriptKind, getTsconfigPath, };
17 //# sourceMappingURL=shared.d.ts.map