summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2021-05-18 09:39:33 +0530
committerGitHub <noreply@github.com>2021-05-18 14:09:33 +1000
commit8ffeabc678dc33932ba71273fa2dc9d787274880 (patch)
treef44534906ec4cf97f42a191a29055926a2e60657 /cli/tsc
parent3318c495f670b2c2ad6418276b5aff0781724e16 (diff)
fix(lsp): ignore type definition not found diagnostic (#10610)
Fixes #10575
Diffstat (limited to 'cli/tsc')
-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,