@@ -1089,3 +1089,21 @@ const pc9 = p.then(() => Promise.reject("1"), () => Promise.reject(1));
1089
1089
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
1090
1090
>reject : Symbol(PromiseConstructor.reject, Decl(lib.es2015.promise.d.ts, --, --))
1091
1091
1092
+ // #27711
1093
+
1094
+ const p2: Promise<number> = new Promise<Promise<number>>(() => {});
1095
+ >p2 : Symbol(p2, Decl(promiseType.ts, 221, 5))
1096
+ >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
1097
+ >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
1098
+ >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
1099
+
1100
+ declare function f(resolve: (value: Promise<number> | string) => void);
1101
+ >f : Symbol(f, Decl(promiseType.ts, 221, 67))
1102
+ >resolve : Symbol(resolve, Decl(promiseType.ts, 223, 19))
1103
+ >value : Symbol(value, Decl(promiseType.ts, 223, 29))
1104
+ >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
1105
+
1106
+ new Promise(f);
1107
+ >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
1108
+ >f : Symbol(f, Decl(promiseType.ts, 221, 67))
1109
+
0 commit comments