summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/node_modules_import/main_check.out
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-02-23 12:33:23 -0500
committerGitHub <noreply@github.com>2023-02-23 17:33:23 +0000
commit6233c0aff0dc9e58b02dfc9499048385bbf836c6 (patch)
treeb6f09c73bbaca669e22b5f5c6f30961a87f78be5 /cli/tests/testdata/npm/node_modules_import/main_check.out
parent344317ec501fa124f0c74b44035fa4516999dce6 (diff)
fix(npm): support bare specifiers in package.json having a path (#17903)
For example `import * as test from "package/path.js"`
Diffstat (limited to 'cli/tests/testdata/npm/node_modules_import/main_check.out')
-rw-r--r--cli/tests/testdata/npm/node_modules_import/main_check.out11
1 files changed, 8 insertions, 3 deletions
diff --git a/cli/tests/testdata/npm/node_modules_import/main_check.out b/cli/tests/testdata/npm/node_modules_import/main_check.out
index 4442a97ba..cf7cc110d 100644
--- a/cli/tests/testdata/npm/node_modules_import/main_check.out
+++ b/cli/tests/testdata/npm/node_modules_import/main_check.out
@@ -1,11 +1,16 @@
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
+ at file:///[WILDCARD]/npm/node_modules_import/main.ts:9: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
+ at file:///[WILDCARD]/npm/node_modules_import/main.ts:10:7
+
+TS2322 [ERROR]: Type 'number' is not assignable to type 'string'.
+const value3: string = myImport3.getValue();
+ ~~~~~~
+ at file:///[WILDCARD]/npm/node_modules_import/main.ts:11:7
-Found 2 errors.
+Found 3 errors.