mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge branch 'master' of https://github.com/borisyankov/DefinitelyTyped
This commit is contained in:
@@ -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/)
|
||||
|
||||
Vendored
+3
@@ -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;
|
||||
}
|
||||
|
||||
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