You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/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'.
2
+
3
+
4
+
==== /tsconfig.json (0 errors) ====
5
+
{
6
+
"compilerOptions": {
7
+
"strict": true,
8
+
"target": "ES2016",
9
+
"importHelpers": true,
10
+
"module": "commonjs",
11
+
}
12
+
}
13
+
14
+
==== /package1/index.ts (1 errors) ====
15
+
export {};
16
+
async function foo(): Promise<void> {}
17
+
~~~
18
+
!!! error TS2343: This syntax requires an imported helper named '__awaiter' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
/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'.
2
+
/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'.
3
+
/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'.
4
+
5
+
6
+
==== /tsconfig.json (0 errors) ====
7
+
{
8
+
"compilerOptions": {
9
+
"strict": true,
10
+
"target": "ES2016",
11
+
"importHelpers": true,
12
+
"module": "commonjs",
13
+
}
14
+
}
15
+
16
+
==== /package1/index.ts (1 errors) ====
17
+
export {};
18
+
async function foo(): Promise<void> {}
19
+
~~~
20
+
!!! error TS2343: This syntax requires an imported helper named '__awaiter' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
21
+
async function bar(): Promise<void> {}
22
+
23
+
==== /package1/other.ts (1 errors) ====
24
+
export {};
25
+
export async function noop(): Promise<void> {}
26
+
export function spread({ a, ...rest }: { a: number, b: number}) {
27
+
~~~~
28
+
!!! error TS2343: This syntax requires an imported helper named '__rest' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
29
+
return { c: "c", ...rest };
30
+
}
31
+
32
+
==== /package2/index.ts (1 errors) ====
33
+
export {};
34
+
async function foo(): Promise<void> {}
35
+
~~~
36
+
!!! error TS2343: This syntax requires an imported helper named '__awaiter' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
0 commit comments