mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
WIP
This commit is contained in:
Vendored
+1
-1
@@ -122,7 +122,7 @@ declare namespace angular {
|
||||
fromJson(json: string): any;
|
||||
identity<T>(arg?: T): T;
|
||||
injector(modules?: any[], strictDi?: boolean): auto.IInjectorService;
|
||||
isArray(value: any): value is Array<any>;
|
||||
isArray(value: any): value is any[];
|
||||
isDate(value: any): value is Date;
|
||||
isDefined(value: any): boolean;
|
||||
isElement(value: any): boolean;
|
||||
|
||||
+3
-3
@@ -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 Array<T> {
|
||||
interface IResourceArray<T> extends T[] {
|
||||
/** the promise of the original server interaction that created this collection. **/
|
||||
$promise: ng.IPromise<IResourceArray<T>>;
|
||||
$resolved: boolean;
|
||||
@@ -144,8 +144,8 @@ declare namespace ng {
|
||||
}
|
||||
}
|
||||
|
||||
interface Array<T> {
|
||||
interface T[] {
|
||||
/** the promise of the original server interaction that created this collection. **/
|
||||
$promise: ng.IPromise<Array<T>>;
|
||||
$promise: ng.IPromise<T[]>;
|
||||
$resolved: boolean;
|
||||
}
|
||||
|
||||
+1
-1
@@ -179,6 +179,6 @@ declare namespace angular {
|
||||
|
||||
interface Array<T> {
|
||||
/** the promise of the original server interaction that created this collection. **/
|
||||
$promise: angular.IPromise<Array<T>>;
|
||||
$promise: angular.IPromise<T[]>;
|
||||
$resolved: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user