summaryrefslogtreecommitdiff
path: root/cli/tsc/99_main_compiler.js
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-12-24 21:53:03 +1100
committerGitHub <noreply@github.com>2020-12-24 21:53:03 +1100
commita4d557126e49108db4c0dc42561ae032d2418b04 (patch)
tree8ca4edc55071e05a37e0a0da97908abfd2707607 /cli/tsc/99_main_compiler.js
parent06fa5eb7f332e1a32bb6f13f438bb326413b733c (diff)
fix(lsp): provide diagnostics for unresolved modules (#8872)
Diffstat (limited to 'cli/tsc/99_main_compiler.js')
-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 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