From a622486a1a8b9e403963bec9b6212ad8b9e6926d Mon Sep 17 00:00:00 2001 From: Satya Rohith Date: Tue, 18 May 2021 09:39:33 +0530 Subject: fix(lsp): ignore type definition not found diagnostic (#10610) Fixes #10575 --- cli/tsc/99_main_compiler.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/tsc') 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, -- cgit v1.2.3