Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / typescript-estree / dist / semantic-or-syntactic-errors.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts
new file mode 100644 (file)
index 0000000..06b3e12
--- /dev/null
@@ -0,0 +1,14 @@
+import * as ts from 'typescript';
+interface SemanticOrSyntacticError extends ts.Diagnostic {
+    message: string;
+}
+/**
+ * By default, diagnostics from the TypeScript compiler contain all errors - regardless of whether
+ * they are related to generic ECMAScript standards, or TypeScript-specific constructs.
+ *
+ * Therefore, we filter out all diagnostics, except for the ones we explicitly want to consider when
+ * the user opts in to throwing errors on semantic issues.
+ */
+export declare function getFirstSemanticOrSyntacticError(program: ts.Program, ast: ts.SourceFile): SemanticOrSyntacticError | undefined;
+export {};
+//# sourceMappingURL=semantic-or-syntactic-errors.d.ts.map
\ No newline at end of file