|
1 | 1 | tests/cases/compiler/bluebirdStaticThis.ts(5,15): error TS2420: Class 'Promise<R>' incorrectly implements interface 'Thenable<R>'. |
2 | 2 | Property 'then' is missing in type 'Promise<R>'. |
3 | | -tests/cases/compiler/bluebirdStaticThis.ts(22,51): error TS2305: Module 'Promise' has no exported member 'Resolver'. |
4 | | -tests/cases/compiler/bluebirdStaticThis.ts(57,109): error TS2305: Module 'Promise' has no exported member 'Inspection'. |
5 | | -tests/cases/compiler/bluebirdStaticThis.ts(58,91): error TS2305: Module 'Promise' has no exported member 'Inspection'. |
6 | | -tests/cases/compiler/bluebirdStaticThis.ts(59,91): error TS2305: Module 'Promise' has no exported member 'Inspection'. |
7 | | -tests/cases/compiler/bluebirdStaticThis.ts(60,73): error TS2305: Module 'Promise' has no exported member 'Inspection'. |
| 3 | +tests/cases/compiler/bluebirdStaticThis.ts(22,51): error TS2694: Namespace 'Promise' has no exported member 'Resolver'. |
| 4 | +tests/cases/compiler/bluebirdStaticThis.ts(57,109): error TS2694: Namespace 'Promise' has no exported member 'Inspection'. |
| 5 | +tests/cases/compiler/bluebirdStaticThis.ts(58,91): error TS2694: Namespace 'Promise' has no exported member 'Inspection'. |
| 6 | +tests/cases/compiler/bluebirdStaticThis.ts(59,91): error TS2694: Namespace 'Promise' has no exported member 'Inspection'. |
| 7 | +tests/cases/compiler/bluebirdStaticThis.ts(60,73): error TS2694: Namespace 'Promise' has no exported member 'Inspection'. |
8 | 8 |
|
9 | 9 |
|
10 | 10 | ==== tests/cases/compiler/bluebirdStaticThis.ts (6 errors) ==== |
@@ -34,7 +34,7 @@ tests/cases/compiler/bluebirdStaticThis.ts(60,73): error TS2305: Module 'Promise |
34 | 34 |
|
35 | 35 | static defer<R>(dit: typeof Promise): Promise.Resolver<R>; |
36 | 36 | ~~~~~~~~ |
37 | | -!!! error TS2305: Module 'Promise' has no exported member 'Resolver'. |
| 37 | +!!! error TS2694: Namespace 'Promise' has no exported member 'Resolver'. |
38 | 38 |
|
39 | 39 | static cast<R>(dit: typeof Promise, value: Promise.Thenable<R>): Promise<R>; |
40 | 40 | static cast<R>(dit: typeof Promise, value: R): Promise<R>; |
@@ -71,16 +71,16 @@ tests/cases/compiler/bluebirdStaticThis.ts(60,73): error TS2305: Module 'Promise |
71 | 71 |
|
72 | 72 | static settle<R>(dit: typeof Promise, values: Promise.Thenable<Promise.Thenable<R>[]>): Promise<Promise.Inspection<R>[]>; |
73 | 73 | ~~~~~~~~~~ |
74 | | -!!! error TS2305: Module 'Promise' has no exported member 'Inspection'. |
| 74 | +!!! error TS2694: Namespace 'Promise' has no exported member 'Inspection'. |
75 | 75 | static settle<R>(dit: typeof Promise, values: Promise.Thenable<R[]>): Promise<Promise.Inspection<R>[]>; |
76 | 76 | ~~~~~~~~~~ |
77 | | -!!! error TS2305: Module 'Promise' has no exported member 'Inspection'. |
| 77 | +!!! error TS2694: Namespace 'Promise' has no exported member 'Inspection'. |
78 | 78 | static settle<R>(dit: typeof Promise, values: Promise.Thenable<R>[]): Promise<Promise.Inspection<R>[]>; |
79 | 79 | ~~~~~~~~~~ |
80 | | -!!! error TS2305: Module 'Promise' has no exported member 'Inspection'. |
| 80 | +!!! error TS2694: Namespace 'Promise' has no exported member 'Inspection'. |
81 | 81 | static settle<R>(dit: typeof Promise, values: R[]): Promise<Promise.Inspection<R>[]>; |
82 | 82 | ~~~~~~~~~~ |
83 | | -!!! error TS2305: Module 'Promise' has no exported member 'Inspection'. |
| 83 | +!!! error TS2694: Namespace 'Promise' has no exported member 'Inspection'. |
84 | 84 |
|
85 | 85 | static any<R>(dit: typeof Promise, values: Promise.Thenable<Promise.Thenable<R>[]>): Promise<R>; |
86 | 86 | static any<R>(dit: typeof Promise, values: Promise.Thenable<R[]>): Promise<R>; |
|
0 commit comments