@@ -60,63 +60,4 @@ export declare class bluebird<T> {
6060 static all : Array < bluebird < any >> ;
6161}
6262export declare function runSampleWorks < A , B , C , D , E > ( a : bluebird < A > , b ?: bluebird < B > , c ?: bluebird < C > , d ?: bluebird < D > , e ?: bluebird < E > ) : Promise < ( < T > (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T ) => T ) & { } > ;
63- export declare function runSampleBreaks < A , B , C , D , E > ( a : bluebird < A > , b ?: bluebird < B > , c ?: bluebird < C > , d ?: bluebird < D > , e ?: bluebird < E > ) : Promise << T > ( f : ( a : A , b ? : B , c ? : C , d ? : D , e ? : E ) = > T ) => T > ;
64-
65-
66- //// [DtsFileErrors]
67-
68-
69- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 141 ) : error TS2314 : Generic type 'Promise<T>' requires 1 type argument ( s ) .
70- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 148 ) : error TS1144 : '{' or ';' expected .
71- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 150 ) : error TS2304 : Cannot find name 'T' .
72- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 153 ) : error TS2304 : Cannot find name 'f' .
73- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 154 ) : error TS1005 : ')' expected .
74- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 160 ) : error TS2304 : Cannot find name 'A' .
75- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 167 ) : error TS2304 : Cannot find name 'B' .
76- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 174 ) : error TS2304 : Cannot find name 'C' .
77- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 181 ) : error TS2304 : Cannot find name 'D' .
78- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 188 ) : error TS2304 : Cannot find name 'E' .
79- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 194 ) : error TS2304 : Cannot find name 'T' .
80- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 195 ) : error TS1005 : ';' expected .
81- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 197 ) : error TS1128 : Declaration or statement expected .
82- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 200 ) : error TS2304 : Cannot find name 'T' .
83- tests / cases / compiler / declarationEmitPromise . d . ts ( 5 , 202 ) : error TS1109 : Expression expected .
84-
85-
86- = === tests / cases / compiler / declarationEmitPromise . d . ts ( 15 errors ) === =
87- export declare class bluebird < T > {
88- static all : Array < bluebird < any >> ;
89- }
90- export declare function runSampleWorks< A , B , C , D , E > (a: bluebird< A > , b?: bluebird< B > , c?: bluebird< C > , d?: bluebird< D > , e?: bluebird< E > ): Promise< ( < T > (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T ) => T ) & { } > ;
91- export declare function runSampleBreaks < A , B , C , D , E > (a: bluebird< A > , b?: bluebird< B > , c?: bluebird< C > , d?: bluebird< D > , e?: bluebird< E > ): Promise< < T > (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T ) => T > ;
92- ~ ~ ~ ~ ~ ~ ~
93- ! ! ! error TS2314 : Generic type 'Promise < T > ' requires 1 type argument(s).
94- ~~
95- !!! error TS1144: '{ ' or ' ; ' expected.
96- ~
97- ! ! ! error TS2304 : Cannot find name 'T' .
98- ~
99- ! ! ! error TS2304 : Cannot find name 'f' .
100- ~
101- ! ! ! error TS1005 : ')' expected .
102- ~
103- ! ! ! error TS2304 : Cannot find name 'A' .
104- ~
105- ! ! ! error TS2304 : Cannot find name 'B' .
106- ~
107- ! ! ! error TS2304 : Cannot find name 'C' .
108- ~
109- ! ! ! error TS2304 : Cannot find name 'D' .
110- ~
111- ! ! ! error TS2304 : Cannot find name 'E' .
112- ~
113- ! ! ! error TS2304 : Cannot find name 'T' .
114- ~
115- ! ! ! error TS1005 : ';' expected .
116- ~ ~
117- ! ! ! error TS1128 : Declaration or statement expected .
118- ~
119- ! ! ! error TS2304 : Cannot find name 'T' .
120- ~
121- ! ! ! error TS1109 : Expression expected .
122-
63+ export declare function runSampleBreaks < A , B , C , D , E > ( a : bluebird < A > , b ?: bluebird < B > , c ?: bluebird < C > , d ?: bluebird < D > , e ?: bluebird < E > ) : Promise < ( < T > (f: (a: A, b?: B, c?: C, d?: D, e?: E) => T ) => T ) > ;
0 commit comments