Update angular-resource.d.ts

fix IResourceArray. It is of array of IResource<T>, not array of just T
This commit is contained in:
Artem Berezin
2015-12-06 17:45:33 +09:00
parent e5a27ea95e
commit fad091f943

View File

@@ -141,7 +141,7 @@ declare module angular.resource {
/**
* Really just a regular Array object with $promise and $resolve attached to it
*/
interface IResourceArray<T> extends Array<T> {
interface IResourceArray<T> extends Array<IResource<T>> {
/** the promise of the original server interaction that created this collection. **/
$promise : angular.IPromise<IResourceArray<T>>;
$resolved : boolean;