Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/esModuleInteropTslibHelpers.errors.txt.diff

19 lines
938 B
Diff

--- old.esModuleInteropTslibHelpers.errors.txt
+++ new.esModuleInteropTslibHelpers.errors.txt
@@= skipped -0, +0 lines =@@
+file.ts(1,1): error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
file2.ts(1,1): error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
file3.ts(1,9): error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
file4.ts(1,14): error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
@@= skipped -4, +5 lines =@@
==== refs.d.ts (0 errors) ====
declare module "path";
-==== file.ts (0 errors) ====
+==== file.ts (1 errors) ====
import path from "path";
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+!!! error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
path.resolve("", "../");
export class Foo { }
==== file2.ts (1 errors) ====