mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Update angular-resource.d.ts
fix IResourceArray. It is of array of IResource<T>, not array of just T
This commit is contained in:
2
angularjs/angular-resource.d.ts
vendored
2
angularjs/angular-resource.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user