From a4d557126e49108db4c0dc42561ae032d2418b04 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Thu, 24 Dec 2020 21:53:03 +1100 Subject: fix(lsp): provide diagnostics for unresolved modules (#8872) --- 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 9b08dee93..de9e74d2e 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -128,6 +128,9 @@ delete Object.prototype.__proto__; // TS2691: An import path cannot end with a '.ts' extension. Consider // importing 'bad-module' instead. 2691, + // TS2792: Cannot find module. Did you mean to set the 'moduleResolution' + // option to 'node', or to add aliases to the 'paths' option? + 2792, // TS5009: Cannot find the common subdirectory path for the input files. 5009, // TS5055: Cannot write file -- cgit v1.2.3