mirror of
https://github.com/axios/axios.git
synced 2026-04-16 15:56:02 +08:00
Merge 5078f174a6 into c7a76ddbf2
This commit is contained in:
commit
9f668fb2a4
@ -46,7 +46,7 @@ type BrowserProgressEvent = any;
|
||||
declare class AxiosHeaders {
|
||||
constructor(headers?: RawAxiosHeaders | AxiosHeaders | string);
|
||||
|
||||
[key: string]: any;
|
||||
[key: string]: axios.AxiosHeaderValue | ((...args: any[]) => any);
|
||||
|
||||
set(
|
||||
headerName?: string,
|
||||
|
||||
2
index.d.ts
vendored
2
index.d.ts
vendored
@ -23,7 +23,7 @@ type AxiosHeaderParser = (this: AxiosHeaders, value: AxiosHeaderValue, header: s
|
||||
export class AxiosHeaders {
|
||||
constructor(headers?: RawAxiosHeaders | AxiosHeaders | string);
|
||||
|
||||
[key: string]: any;
|
||||
[key: string]: AxiosHeaderValue | ((...args: any[]) => any);
|
||||
|
||||
set(
|
||||
headerName?: string,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user