File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -2570,19 +2570,26 @@ declare function mx(str: string): IEnumerable<string>
2570
2570
* Defines an enumerator, which supports an iteration over the specified Generator function.
2571
2571
* @param func A Generator function.
2572
2572
*/
2573
- declare function mx < T > ( func : ( ) => ( yielder : ( value : T ) => any ) => void ) : IEnumerable < T >
2573
+ declare function mx < T > ( func : ( ) => ( yielder : ( value : T ) => T ) => any ) : IEnumerable < T >
2574
2574
2575
2575
2576
2576
/**
2577
2577
* Defines an enumerator, which supports an iteration over the items of the specified Array-like object.
2578
2578
* An Array-like object is an object which has the "length" property, eg. arguments, jQuery
2579
2579
* @param obj An Array-like object.
2580
2580
*/
2581
- declare function mx < T > ( obj : { length : Number } ) : IEnumerable < T >
2581
+ declare function mx < T > ( obj : { length : Number ; [ index : number ] : T } ) : IEnumerable < T >
2582
+
2583
+
2584
+ /**
2585
+ * Defines an enumerator, which supports an iteration over the arguments local variable available within all functions.
2586
+ * @param obj arguments local variable available within all functions.
2587
+ */
2588
+ declare function mx ( obj : IArguments ) : IEnumerable < any >
2582
2589
2583
2590
2584
2591
/**
2585
2592
* Defines an enumerator, which supports an iteration over the properties of the specified object.
2586
2593
* @param obj A regular Object.
2587
2594
*/
2588
- declare function mx < T > ( obj : Object ) : IEnumerable < KeyValuePair < string , T > >
2595
+ declare function mx ( obj : Object ) : IEnumerable < KeyValuePair < string , any > >
Original file line number Diff line number Diff line change @@ -2570,19 +2570,26 @@ declare function mx(str: string): IEnumerable<string>
2570
2570
* Defines an enumerator, which supports an iteration over the specified Generator function.
2571
2571
* @param func A Generator function.
2572
2572
*/
2573
- declare function mx < T > ( func : ( ) => ( yielder : ( value : T ) => any ) => void ) : IEnumerable < T >
2573
+ declare function mx < T > ( func : ( ) => ( yielder : ( value : T ) => T ) => any ) : IEnumerable < T >
2574
2574
2575
2575
2576
2576
/**
2577
2577
* Defines an enumerator, which supports an iteration over the items of the specified Array-like object.
2578
2578
* An Array-like object is an object which has the "length" property, eg. arguments, jQuery
2579
2579
* @param obj An Array-like object.
2580
2580
*/
2581
- declare function mx < T > ( obj : { length : Number } ) : IEnumerable < T >
2581
+ declare function mx < T > ( obj : { length : Number ; [ index : number ] : T } ) : IEnumerable < T >
2582
+
2583
+
2584
+ /**
2585
+ * Defines an enumerator, which supports an iteration over the arguments local variable available within all functions.
2586
+ * @param obj arguments local variable available within all functions.
2587
+ */
2588
+ declare function mx ( obj : IArguments ) : IEnumerable < any >
2582
2589
2583
2590
2584
2591
/**
2585
2592
* Defines an enumerator, which supports an iteration over the properties of the specified object.
2586
2593
* @param obj A regular Object.
2587
2594
*/
2588
- declare function mx < T > ( obj : Object ) : IEnumerable < KeyValuePair < string , T > >
2595
+ declare function mx ( obj : Object ) : IEnumerable < KeyValuePair < string , any > >
You can’t perform that action at this time.
0 commit comments