mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
headers function in http promise callbacks: passing no name arg returns entire headers object.
This commit is contained in:
1 parent
bd9a1922e4
commit
d325c983f9
1 file changed
+1
-1
Vendored
+1
-1
@@ -1201,7 +1201,7 @@ declare module ng {
|
||||
}
|
||||
|
||||
interface IHttpPromiseCallback<T> {
|
||||
(data: T, status: number, headers: (headerName: string) => string, config: IRequestConfig): void;
|
||||
(data: T, status: number, headers: (headerName?: string) => string, config: IRequestConfig): void;
|
||||
}
|
||||
|
||||
interface IHttpPromiseCallbackArg<T> {
|
||||
|
||||
Reference in new issue
Block a user