mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #782 from maroy1986/master
Update version number an add an alternative definition for arrayPushAll
This commit is contained in:
Vendored
+1
-1
@@ -375,7 +375,7 @@ declare module "durandal/plugins/router" {
|
||||
*/
|
||||
interface IRouteInfoParameters {
|
||||
/** your url pattern. The only required parameter */
|
||||
url: string;
|
||||
url: any;
|
||||
/** if not supplied, router.convertRouteToName derives it */
|
||||
moduleId?: string;
|
||||
/** if not supplied, router.convertRouteToModuleId derives it */
|
||||
|
||||
Vendored
+3
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Knockout 2.2
|
||||
// Type definitions for Knockout 2.3
|
||||
// Project: http://knockoutjs.com
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -256,6 +256,8 @@ interface KnockoutUtils {
|
||||
arrayFilter(array: any[], predicate: (item) => boolean): any[];
|
||||
|
||||
arrayPushAll(array: any[], valuesToPush: any[]): any[];
|
||||
|
||||
arrayPushAll(array: KnockoutObservableArray<any>, valuesToPush: any[]): any[];
|
||||
|
||||
extend(target, source);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user