From fad091f943a06f81f06c0d174d657fdf8c476657 Mon Sep 17 00:00:00 2001 From: Artem Berezin Date: Sun, 6 Dec 2015 17:45:33 +0900 Subject: [PATCH] Update angular-resource.d.ts fix IResourceArray. It is of array of IResource, not array of just T --- angularjs/angular-resource.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs/angular-resource.d.ts b/angularjs/angular-resource.d.ts index 76930196b..442d8fa60 100644 --- a/angularjs/angular-resource.d.ts +++ b/angularjs/angular-resource.d.ts @@ -141,7 +141,7 @@ declare module angular.resource { /** * Really just a regular Array object with $promise and $resolve attached to it */ - interface IResourceArray extends Array { + interface IResourceArray extends Array> { /** the promise of the original server interaction that created this collection. **/ $promise : angular.IPromise>; $resolved : boolean;