.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / typescript-estree / dist / semantic-or-syntactic-errors.d.ts
1 import * as ts from 'typescript';
2 interface SemanticOrSyntacticError extends ts.Diagnostic {
3     message: string;
4 }
5 /**
6  * By default, diagnostics from the TypeScript compiler contain all errors - regardless of whether
7  * they are related to generic ECMAScript standards, or TypeScript-specific constructs.
8  *
9  * Therefore, we filter out all diagnostics, except for the ones we explicitly want to consider when
10  * the user opts in to throwing errors on semantic issues.
11  */
12 export declare function getFirstSemanticOrSyntacticError(program: ts.Program, ast: ts.SourceFile): SemanticOrSyntacticError | undefined;
13 export {};
14 //# sourceMappingURL=semantic-or-syntactic-errors.d.ts.map