summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2021-05-18 09:39:33 +0530
committerBert Belder <bertbelder@gmail.com>2021-05-31 16:37:27 +0200
commita622486a1a8b9e403963bec9b6212ad8b9e6926d (patch)
treef44534906ec4cf97f42a191a29055926a2e60657
parentef6d69c31471d33d5f1b37201f2706c6bf9608e3 (diff)
fix(lsp): ignore type definition not found diagnostic (#10610)
Fixes #10575
-rw-r--r--cli/tsc/99_main_compiler.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js
index 935ab5951..be0ed012a 100644
--- a/cli/tsc/99_main_compiler.js
+++ b/cli/tsc/99_main_compiler.js
@@ -149,6 +149,9 @@ delete Object.prototype.__proto__;
// TS2306: File 'file:///Users/rld/src/deno/cli/tests/subdir/amd_like.js' is
// not a module.
2306,
+ // TS2688: Cannot find type definition file for '...'.
+ // We ignore because type defintion files can end with '.ts'.
+ 2688,
// TS2691: An import path cannot end with a '.ts' extension. Consider
// importing 'bad-module' instead.
2691,