@@ -101,65 +101,64 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
101
101
} ;
102
102
// Generic tag with one parameter
103
103
function noParams ( n ) { }
104
- noParams ( _a || ( _a = __makeTemplateObject ( [ "" ] , [ "" ] ) ) ) ;
104
+ noParams ( __makeTemplateObject ( [ "" ] , [ "" ] ) ) ;
105
105
// Generic tag with parameter which does not use type parameter
106
106
function noGenericParams ( n ) { }
107
- noGenericParams ( _b || ( _b = __makeTemplateObject ( [ "" ] , [ "" ] ) ) ) ;
107
+ noGenericParams ( __makeTemplateObject ( [ "" ] , [ "" ] ) ) ;
108
108
// Generic tag with multiple type parameters and only one used in parameter type annotation
109
109
function someGenerics1a ( n , m ) { }
110
- someGenerics1a ( _c || ( _c = __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) ) , 3 ) ;
110
+ someGenerics1a ( __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) , 3 ) ;
111
111
function someGenerics1b ( n , m ) { }
112
- someGenerics1b ( _d || ( _d = __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) ) , 3 ) ;
112
+ someGenerics1b ( __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) , 3 ) ;
113
113
// Generic tag with argument of function type whose parameter is of type parameter type
114
114
function someGenerics2a ( strs , n ) { }
115
- someGenerics2a ( _e || ( _e = __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) ) , function ( n ) { return n ; } ) ;
115
+ someGenerics2a ( __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) , function ( n ) { return n ; } ) ;
116
116
function someGenerics2b ( strs , n ) { }
117
- someGenerics2b ( _f || ( _f = __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) ) , function ( n , x ) { return n ; } ) ;
117
+ someGenerics2b ( __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) , function ( n , x ) { return n ; } ) ;
118
118
// Generic tag with argument of function type whose parameter is not of type parameter type but body/return type uses type parameter
119
119
function someGenerics3 ( strs , producer ) { }
120
- someGenerics3 ( _g || ( _g = __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) ) , function ( ) { return '' ; } ) ;
121
- someGenerics3 ( _h || ( _h = __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) ) , function ( ) { return undefined ; } ) ;
122
- someGenerics3 ( _j || ( _j = __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) ) , function ( ) { return 3 ; } ) ;
120
+ someGenerics3 ( __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) , function ( ) { return '' ; } ) ;
121
+ someGenerics3 ( __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) , function ( ) { return undefined ; } ) ;
122
+ someGenerics3 ( __makeTemplateObject ( [ "" , "" ] , [ "" , "" ] ) , function ( ) { return 3 ; } ) ;
123
123
// 2 parameter generic tag with argument 1 of type parameter type and argument 2 of function type whose parameter is of type parameter type
124
124
function someGenerics4 ( strs , n , f ) { }
125
- someGenerics4 ( _k || ( _k = __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) ) , 4 , function ( ) { return null ; } ) ;
126
- someGenerics4 ( _l || ( _l = __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) ) , '' , function ( ) { return 3 ; } ) ;
127
- someGenerics4 ( _m || ( _m = __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) ) , null , null ) ;
125
+ someGenerics4 ( __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) , 4 , function ( ) { return null ; } ) ;
126
+ someGenerics4 ( __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) , '' , function ( ) { return 3 ; } ) ;
127
+ someGenerics4 ( __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) , null , null ) ;
128
128
// 2 parameter generic tag with argument 2 of type parameter type and argument 1 of function type whose parameter is of type parameter type
129
129
function someGenerics5 ( strs , n , f ) { }
130
- someGenerics5 ( _o || ( _o = __makeTemplateObject ( [ "" , " " , "" ] , [ "" , " " , "" ] ) ) , 4 , function ( ) { return null ; } ) ;
131
- someGenerics5 ( _p || ( _p = __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) ) , '' , function ( ) { return 3 ; } ) ;
132
- someGenerics5 ( _q || ( _q = __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) ) , null , null ) ;
130
+ someGenerics5 ( __makeTemplateObject ( [ "" , " " , "" ] , [ "" , " " , "" ] ) , 4 , function ( ) { return null ; } ) ;
131
+ someGenerics5 ( __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) , '' , function ( ) { return 3 ; } ) ;
132
+ someGenerics5 ( __makeTemplateObject ( [ "" , "" , "" ] , [ "" , "" , "" ] ) , null , null ) ;
133
133
// Generic tag with multiple arguments of function types that each have parameters of the same generic type
134
134
function someGenerics6 ( strs , a , b , c ) { }
135
- someGenerics6 ( _r || ( _r = __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
136
- someGenerics6 ( _s || ( _s = __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
137
- someGenerics6 ( _t || ( _t = __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
135
+ someGenerics6 ( __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
136
+ someGenerics6 ( __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
137
+ someGenerics6 ( __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
138
138
// Generic tag with multiple arguments of function types that each have parameters of different generic type
139
139
function someGenerics7 ( strs , a , b , c ) { }
140
- someGenerics7 ( _u || ( _u = __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
141
- someGenerics7 ( _v || ( _v = __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
142
- someGenerics7 ( _w || ( _w = __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
140
+ someGenerics7 ( __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
141
+ someGenerics7 ( __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
142
+ someGenerics7 ( __makeTemplateObject ( [ "" , "" , "" , "" ] , [ "" , "" , "" , "" ] ) , function ( n ) { return n ; } , function ( n ) { return n ; } , function ( n ) { return n ; } ) ;
143
143
// Generic tag with argument of generic function type
144
144
function someGenerics8 ( strs , n ) { return n ; }
145
- var x = someGenerics8(_x || (_x = __makeTemplateObject(["", ""], ["", ""]) ), someGenerics7);
146
- x(_y || (_y = __makeTemplateObject(["", "", "", ""], ["", "", "", ""]) ), null, null, null);
145
+ var x = someGenerics8(__makeTemplateObject(["", ""], ["", ""]), someGenerics7);
146
+ x(__makeTemplateObject(["", "", "", ""], ["", "", "", ""]), null, null, null);
147
147
// Generic tag with multiple parameters of generic type passed arguments with no best common type
148
148
function someGenerics9(strs, a, b, c) {
149
149
return null ;
150
150
}
151
- var a9a = someGenerics9(_z || (_z = __makeTemplateObject(["", "", "", ""], ["", "", "", ""]) ), '', 0, []);
151
+ var a9a = someGenerics9(__makeTemplateObject(["", "", "", ""], ["", "", "", ""]), '', 0, []);
152
152
var a9a;
153
- var a9e = someGenerics9(_0 || (_0 = __makeTemplateObject(["", "", "", ""], ["", "", "", ""]) ), undefined, { x : 6 , z : new Date ( ) } , { x : 6 , y : '' } );
153
+ var a9e = someGenerics9(__makeTemplateObject(["", "", "", ""], ["", "", "", ""]), undefined, { x : 6 , z : new Date ( ) } , { x : 6 , y : '' } );
154
154
var a9e;
155
155
// Generic tag with multiple parameters of generic type passed arguments with a single best common type
156
- var a9d = someGenerics9(_1 || (_1 = __makeTemplateObject(["", "", "", ""], ["", "", "", ""]) ), { x : 3 } , { x : 6 } , { x : 6 } );
156
+ var a9d = someGenerics9(__makeTemplateObject(["", "", "", ""], ["", "", "", ""]), { x : 3 } , { x : 6 } , { x : 6 } );
157
157
var a9d;
158
158
// Generic tag with multiple parameters of generic type where one argument is of type 'any'
159
159
var anyVar;
160
- var a = someGenerics9(_2 || (_2 = __makeTemplateObject(["", "", "", ""], ["", "", "", ""]) ), 7, anyVar, 4);
160
+ var a = someGenerics9(__makeTemplateObject(["", "", "", ""], ["", "", "", ""]), 7, anyVar, 4);
161
161
var a;
162
162
// Generic tag with multiple parameters of generic type where one argument is [] and the other is not 'any'
163
- var arr = someGenerics9(_3 || (_3 = __makeTemplateObject(["", "", "", ""], ["", "", "", ""]) ), [], null, undefined);
163
+ var arr = someGenerics9(__makeTemplateObject(["", "", "", ""], ["", "", "", ""]), [], null, undefined);
164
164
var arr;
165
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
0 commit comments