Update angular-resource.d.ts

This commit is contained in:
Artem Berezin
2015-12-11 11:13:32 +09:00
parent fad091f943
commit 79e875c956
+1 -1
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<IResource<T>> {
interface IResourceArray<T> extends Array<T & IResource<T>> {
/** the promise of the original server interaction that created this collection. **/
$promise : angular.IPromise<IResourceArray<T>>;
$resolved : boolean;