This commit is contained in:
Andy Hanson
2016-11-28 11:18:27 -08:00
parent 89fa98a712
commit e59de0ca36
258 changed files with 2623 additions and 3982 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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;
}