angularjs: changed $q signature

This commit is contained in:
Ilya Mochalov
2015-08-25 02:24:01 +05:00
parent af81415504
commit 111be145ae
2 changed files with 4 additions and 0 deletions

View File

@@ -999,6 +999,8 @@ declare module angular {
interface IQService {
new <T>(resolver: (resolve: IQResolveReject<T>) => any): IPromise<T>;
new <T>(resolver: (resolve: IQResolveReject<T>, reject: IQResolveReject<any>) => any): IPromise<T>;
<T>(resolver: (resolve: IQResolveReject<T>) => any): IPromise<T>;
<T>(resolver: (resolve: IQResolveReject<T>, reject: IQResolveReject<any>) => any): IPromise<T>;
/**
* Combines multiple promises into a single promise that is resolved when all of the input promises are resolved.