1 2 3 4 5 6 7 8 9 10 11 12
|
Exit Code: 1
Standard output:
src/Task.ts(90,16): error TS2322: Type 'Promise<A extends PromiseLike<infer U> ? U : A>' is not assignable to type 'Promise<A>'.
Type 'A extends PromiseLike<infer U> ? U : A' is not assignable to type 'A'.
Type 'unknown' is not assignable to type 'A'.
src/Task.ts(99,16): error TS2322: Type 'Promise<A extends PromiseLike<infer U> ? U : A>' is not assignable to type 'Promise<A>'.
Type 'A extends PromiseLike<infer U> ? U : A' is not assignable to type 'A'.
Type 'unknown' is not assignable to type 'A'.
Standard error:
|