mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
WIP
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:
Vendored
+5
-5
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user