mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
WIP: more fixes
This commit is contained in:
+2
-2
@@ -122,7 +122,7 @@ declare namespace ng.resource {
|
||||
/**
|
||||
* Really just a regular Array object with $promise and $resolve attached to it
|
||||
*/
|
||||
interface IResourceArray<T> extends T[] {
|
||||
interface IResourceArray<T> extends Array<T> {
|
||||
/** the promise of the original server interaction that created this collection. **/
|
||||
$promise: ng.IPromise<IResourceArray<T>>;
|
||||
$resolved: boolean;
|
||||
@@ -144,7 +144,7 @@ declare namespace ng {
|
||||
}
|
||||
}
|
||||
|
||||
interface T[] {
|
||||
interface Array<T> {
|
||||
/** the promise of the original server interaction that created this collection. **/
|
||||
$promise: ng.IPromise<T[]>;
|
||||
$resolved: boolean;
|
||||
|
||||
Reference in New Issue
Block a user