From 344317ec501fa124f0c74b44035fa4516999dce6 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 23 Feb 2023 10:58:10 -0500 Subject: feat(npm): support bare specifiers from package.json in more subcommands and language server (#17891) --- cli/tests/testdata/npm/node_modules_import/main_check.out | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cli/tests/testdata/npm/node_modules_import/main_check.out (limited to 'cli/tests/testdata/npm/node_modules_import/main_check.out') diff --git a/cli/tests/testdata/npm/node_modules_import/main_check.out b/cli/tests/testdata/npm/node_modules_import/main_check.out new file mode 100644 index 000000000..4442a97ba --- /dev/null +++ b/cli/tests/testdata/npm/node_modules_import/main_check.out @@ -0,0 +1,11 @@ +error: TS2322 [ERROR]: Type 'number' is not assignable to type 'string'. +const value1: string = myImport1.getValue(); + ~~~~~~ + at file:///[WILDCARD]/npm/node_modules_import/main.ts:8:7 + +TS2322 [ERROR]: Type 'number' is not assignable to type 'string'. +const value2: string = myImport2.getValue(); + ~~~~~~ + at file:///[WILDCARD]/npm/node_modules_import/main.ts:9:7 + +Found 2 errors. -- cgit v1.2.3