mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
759 B
Diff
15 lines
759 B
Diff
--- old.nodeModulesTripleSlashReferenceModeOverrideModeError(module=node16).errors.txt
|
|
+++ new.nodeModulesTripleSlashReferenceModeOverrideModeError(module=node16).errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
-/index.ts(1,23): error TS1453: `resolution-mode` should be either `require` or `import`.
|
|
+/index.ts(1,45): error TS1453: `resolution-mode` should be either `require` or `import`.
|
|
/index.ts(2,1): error TS2304: Cannot find name 'foo'.
|
|
|
|
|
|
==== /index.ts (2 errors) ====
|
|
/// <reference types="pkg" resolution-mode="esm"/>
|
|
- ~~~
|
|
+ ~~~
|
|
!!! error TS1453: `resolution-mode` should be either `require` or `import`.
|
|
foo; // bad resolution mode, which resolves is arbitrary
|
|
~~~
|