Merge pull request #782 from maroy1986/master

Update version number an add an alternative definition for arrayPushAll
This commit is contained in:
Boris Yankov
2013-07-17 08:17:55 -07:00
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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 */
+3 -1
View File
@@ -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);