From fad091f943a06f81f06c0d174d657fdf8c476657 Mon Sep 17 00:00:00 2001 From: Artem Berezin Date: Sun, 6 Dec 2015 17:45:33 +0900 Subject: [PATCH 1/2] 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 76930196ba..442d8fa608 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; From 79e875c9566e3da496fe68292d11700f2bc9a6af Mon Sep 17 00:00:00 2001 From: Artem Berezin Date: Fri, 11 Dec 2015 11:13:32 +0900 Subject: [PATCH 2/2] Update angular-resource.d.ts --- 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 442d8fa608..fca03678f6 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;