mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
update angular.d.ts
This commit is contained in:
Vendored
+6
-1
@@ -1200,8 +1200,13 @@ declare module ng {
|
||||
url: string;
|
||||
}
|
||||
|
||||
interface IHttpHeadersGetter {
|
||||
(): { [name: string]: string; };
|
||||
(headerName: string): string;
|
||||
}
|
||||
|
||||
interface IHttpPromiseCallback<T> {
|
||||
(data: T, status: number, headers: (headerName?: string) => string, config: IRequestConfig): void;
|
||||
(data: T, status: number, headers: IHttpHeadersGetter, config: IRequestConfig): void;
|
||||
}
|
||||
|
||||
interface IHttpPromiseCallbackArg<T> {
|
||||
|
||||
Reference in New Issue
Block a user