WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
This commit is contained in:
Andy Hanson
2016-11-28 11:16:06 -08:00
parent cd4debea25
commit 89fa98a712
1473 changed files with 77478 additions and 76346 deletions
+5 -5
View File
@@ -12,16 +12,16 @@ import * as ng from 'angular';
declare module 'js-data' {
interface DSProvider {
defaults:DSConfiguration;
defaults: DSConfiguration;
}
interface DS {
bindAll<T>(resourceName:string, params:DSFilterParams, scope:ng.IScope, expr:string, cb?:(err:DSError, items:Array<T & DSInstanceShorthands<T>>)=>void):Function;
bindOne<T>(resourceName:string, id:string | number, scope:ng.IScope, expr:string, cb?:(err:DSError, item:T & DSInstanceShorthands<T>)=>void):Function;
bindAll<T>(resourceName: string, params: DSFilterParams, scope: ng.IScope, expr: string, cb?: (err: DSError, items: Array<T & DSInstanceShorthands<T>>) => void): Function;
bindOne<T>(resourceName: string, id: string | number, scope: ng.IScope, expr: string, cb?: (err: DSError, item: T & DSInstanceShorthands<T>) => void): Function;
}
interface DSResourceDefinition<T> {
bindAll(params:DSFilterParams, scope:ng.IScope, expr:string, cb?:(err:DSError, items:Array<T & DSInstanceShorthands<T>>)=>void):Function;
bindOne(id:string | number, scope:ng.IScope, expr:string, cb?:(err:DSError, item:T & DSInstanceShorthands<T>)=>void):Function;
bindAll(params: DSFilterParams, scope: ng.IScope, expr: string, cb?: (err: DSError, items: Array<T & DSInstanceShorthands<T>>) => void): Function;
bindOne(id: string | number, scope: ng.IScope, expr: string, cb?: (err: DSError, item: T & DSInstanceShorthands<T>) => void): Function;
}
}