mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
936 B
Diff
20 lines
936 B
Diff
--- old.nodeNextPackageSelfNameWithOutDir.errors.txt
|
|
+++ new.nodeNextPackageSelfNameWithOutDir.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
error TS2209: The project root is ambiguous, but is required to resolve export map entry '.' in file 'package.json'. Supply the `rootDir` compiler option to disambiguate.
|
|
+index.ts(1,21): error TS2307: Cannot find module '@this/package' or its corresponding type declarations.
|
|
|
|
|
|
!!! error TS2209: The project root is ambiguous, but is required to resolve export map entry '.' in file 'package.json'. Supply the `rootDir` compiler option to disambiguate.
|
|
@@= skipped -9, +10 lines =@@
|
|
".": "./dist/index.js"
|
|
}
|
|
}
|
|
-==== index.ts (0 errors) ====
|
|
+==== index.ts (1 errors) ====
|
|
import * as me from "@this/package";
|
|
+ ~~~~~~~~~~~~~~~
|
|
+!!! error TS2307: Cannot find module '@this/package' or its corresponding type declarations.
|
|
|
|
me.thing();
|
|
|