mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
angularjs: Reverting to using stronger signatures for IPromise. With tests for that.
This commit is contained in:
1 parent
d3f7a944b1
commit
402fd36440
2 files changed
+14
-7
No files matched your search
Vendored
+2
-1
@@ -406,7 +406,8 @@ declare module ng {
|
||||
}
|
||||
|
||||
interface IPromise<T> {
|
||||
then(successCallback: (promiseValue: T) => any, errorCallback?: (reason: any) => any): IPromise<any>;
|
||||
then<TResult>(successCallback: (promiseValue: T) => IPromise<TResult>, errorCallback?: (reason: any) => any): IPromise<TResult>;
|
||||
then<TResult>(successCallback: (promiseValue: T) => TResult, errorCallback?: (reason: any) => TResult): IPromise<TResult>;
|
||||
}
|
||||
|
||||
interface IDeferred<T> {
|
||||
|
||||
Reference in new issue
Block a user