Skip to content

Commit 301805b

Browse files
authored
fix(types): add prefix, port, host options to axios types (nuxt-community#381)
1 parent 2a93660 commit 301805b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

types/index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ interface AxiosOptions {
2929
browserBaseURL?: string,
3030
credentials?: boolean,
3131
debug?: boolean,
32+
host?: string,
33+
prefix?: string,
3234
progress?: boolean,
3335
proxyHeaders?: boolean,
3436
proxyHeadersIgnore?: string[],
3537
proxy?: boolean,
38+
port?: string | number,
3639
retry?: boolean | IAxiosRetryConfig,
3740
https?: boolean,
3841
headers?: {

0 commit comments

Comments
 (0)