1 import * as ts from 'typescript';
2 interface SemanticOrSyntacticError extends ts.Diagnostic {
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.
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.
12 export declare function getFirstSemanticOrSyntacticError(program: ts.Program, ast: ts.SourceFile): SemanticOrSyntacticError | undefined;
14 //# sourceMappingURL=semantic-or-syntactic-errors.d.ts.map