Update angular-localForage.d.ts

Correct the signature and return type for bind
This commit is contained in:
Timothy Boyce
2015-08-02 17:25:26 +00:00
parent 287cb2e1b1
commit 0143f1c13a
+5 -5
View File
@@ -46,14 +46,14 @@ declare module angular.localForage {
iterate<T>(iteratorCallback:(value:string | number, key:string)=>T):angular.IPromise<T>;
bind($scope:ng.IScope, key:string):void;
bind($scope:ng.IScope, key:string):angular.IPromise<any>;
bind($scope:ng.IScope, config:{
key:string;
defaultValue:any;
scopeKey:string;
name:string;
}):void;
defaultValue?:any;
scopeKey?:string;
name?:string;
}):angular.IPromise<any>;
unbind($scope:ng.IScope, key:string, scopeKey?:string):void;