diff --git a/README.md b/README.md index 110d22b54..5176fe729 100755 --- a/README.md +++ b/README.md @@ -200,3 +200,4 @@ Requested Definitions * [MooTools](http://mootools.net/) * [Lo-Dash](http://lodash.com/) * [java](https://github.com/nearinfinity/node-java) +* [SVG.js](http://www.svgjs.com/) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index fb452fa27..22f4cbf72 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -119,6 +119,7 @@ declare module ng { /////////////////////////////////////////////////////////////////////////// interface IAttributes { $set(name: string, value: any): void; + $observe(name: string, fn:(value?:any)=>any):void; $attr: any; } @@ -199,6 +200,8 @@ declare module ng { $watch(watchExpression: string, listener?: (newValue: any, oldValue: any, scope: IScope) => any, objectEquality?: bool): Function; $watch(watchExpression: (scope: IScope) => any, listener?: string, objectEquality?: bool): Function; $watch(watchExpression: (scope: IScope) => any, listener?: (newValue: any, oldValue: any, scope: IScope) => any, objectEquality?: bool): Function; + + $parent: IScope; $id: number; } diff --git a/durandal/durandal.d.ts b/durandal/durandal.d.ts index 043ab3f66..e47bb1f15 100644 --- a/durandal/durandal.d.ts +++ b/durandal/durandal.d.ts @@ -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 */ diff --git a/knockout/knockout.d.ts b/knockout/knockout.d.ts index 1e23e868c..63e3ee61d 100644 --- a/knockout/knockout.d.ts +++ b/knockout/knockout.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Knockout 2.2 +// Type definitions for Knockout 2.3 // Project: http://knockoutjs.com // Definitions by: Boris Yankov // 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, valuesToPush: any[]): any[]; extend(target, source);