2
2
type MyPromise<T> = Promise<T>;
3
3
>MyPromise : Symbol(MyPromise, Decl(asyncAwait_es2017.ts, 0, 0), Decl(asyncAwait_es2017.ts, 1, 11))
4
4
>T : Symbol(T, Decl(asyncAwait_es2017.ts, 0, 15))
5
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
5
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
6
6
>T : Symbol(T, Decl(asyncAwait_es2017.ts, 0, 15))
7
7
8
8
declare var MyPromise: typeof Promise;
9
9
>MyPromise : Symbol(MyPromise, Decl(asyncAwait_es2017.ts, 0, 0), Decl(asyncAwait_es2017.ts, 1, 11))
10
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
10
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
11
11
12
12
declare var p: Promise<number>;
13
13
>p : Symbol(p, Decl(asyncAwait_es2017.ts, 2, 11))
14
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
14
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
15
15
16
16
declare var mp: MyPromise<number>;
17
17
>mp : Symbol(mp, Decl(asyncAwait_es2017.ts, 3, 11))
@@ -22,7 +22,7 @@ async function f0() { }
22
22
23
23
async function f1(): Promise<void> { }
24
24
>f1 : Symbol(f1, Decl(asyncAwait_es2017.ts, 5, 23))
25
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
25
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
26
26
27
27
async function f3(): MyPromise<void> { }
28
28
>f3 : Symbol(f3, Decl(asyncAwait_es2017.ts, 6, 38))
@@ -33,7 +33,7 @@ let f4 = async function() { }
33
33
34
34
let f5 = async function(): Promise<void> { }
35
35
>f5 : Symbol(f5, Decl(asyncAwait_es2017.ts, 10, 3))
36
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
36
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
37
37
38
38
let f6 = async function(): MyPromise<void> { }
39
39
>f6 : Symbol(f6, Decl(asyncAwait_es2017.ts, 11, 3))
@@ -44,7 +44,7 @@ let f7 = async () => { };
44
44
45
45
let f8 = async (): Promise<void> => { };
46
46
>f8 : Symbol(f8, Decl(asyncAwait_es2017.ts, 14, 3))
47
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
47
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
48
48
49
49
let f9 = async (): MyPromise<void> => { };
50
50
>f9 : Symbol(f9, Decl(asyncAwait_es2017.ts, 15, 3))
@@ -60,7 +60,7 @@ let f11 = async () => mp;
60
60
61
61
let f12 = async (): Promise<number> => mp;
62
62
>f12 : Symbol(f12, Decl(asyncAwait_es2017.ts, 18, 3))
63
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
63
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
64
64
>mp : Symbol(mp, Decl(asyncAwait_es2017.ts, 3, 11))
65
65
66
66
let f13 = async (): MyPromise<number> => p;
@@ -76,7 +76,7 @@ let o = {
76
76
77
77
async m2(): Promise<void> { },
78
78
>m2 : Symbol(m2, Decl(asyncAwait_es2017.ts, 22, 16))
79
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
79
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
80
80
81
81
async m3(): MyPromise<void> { }
82
82
>m3 : Symbol(m3, Decl(asyncAwait_es2017.ts, 23, 31))
@@ -92,7 +92,7 @@ class C {
92
92
93
93
async m2(): Promise<void> { }
94
94
>m2 : Symbol(C.m2, Decl(asyncAwait_es2017.ts, 28, 15))
95
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
95
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
96
96
97
97
async m3(): MyPromise<void> { }
98
98
>m3 : Symbol(C.m3, Decl(asyncAwait_es2017.ts, 29, 30))
@@ -103,7 +103,7 @@ class C {
103
103
104
104
static async m5(): Promise<void> { }
105
105
>m5 : Symbol(C.m5, Decl(asyncAwait_es2017.ts, 31, 22))
106
- >Promise : Symbol(Promise, Decl(lib.es2015.symbol.wellknown. d.ts, --, --), Decl(lib.es2015.promise .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
106
+ >Promise : Symbol(Promise, Decl(lib.es5. d.ts, --, --), Decl(lib.es2015.symbol.wellknown .d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
107
107
108
108
static async m6(): MyPromise<void> { }
109
109
>m6 : Symbol(C.m6, Decl(asyncAwait_es2017.ts, 32, 37))
0 commit comments