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

21 lines
1.6 KiB
Diff

--- old.tslibMultipleMissingHelper.errors.txt
+++ new.tslibMultipleMissingHelper.errors.txt
@@= skipped -0, +0 lines =@@
/package1/index.ts(2,16): error TS2343: This syntax requires an imported helper named '__awaiter' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
+/package1/other.ts(2,23): error TS2343: This syntax requires an imported helper named '__awaiter' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
/package1/other.ts(3,32): error TS2343: This syntax requires an imported helper named '__rest' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
/package2/index.ts(2,16): error TS2343: This syntax requires an imported helper named '__awaiter' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
@@= skipped -19, +20 lines =@@
!!! error TS2343: This syntax requires an imported helper named '__awaiter' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
async function bar(): Promise<void> {}
-==== /package1/other.ts (1 errors) ====
+==== /package1/other.ts (2 errors) ====
export {};
export async function noop(): Promise<void> {}
+ ~~~~
+!!! error TS2343: This syntax requires an imported helper named '__awaiter' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
export function spread({ a, ...rest }: { a: number, b: number}) {
~~~~
!!! error TS2343: This syntax requires an imported helper named '__rest' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.