We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1000937 commit cfe6b11Copy full SHA for cfe6b11
types/index.d.ts
@@ -29,7 +29,7 @@ type ResponseSpecFunc = <T = any>(
29
headers?: AxiosHeaders
30
) => MockAdapter;
31
32
-type NetErr = 'ENOTFOUND' | 'ECONNREFUSED' | 'ECONNRESET' | 'ECONNABORTED' | 'ETIMEDOUT'
+type NetErr = 'ENOTFOUND' | 'ECONNREFUSED' | 'ECONNRESET' | 'ECONNABORTED' | 'ETIMEDOUT' | (string & Record<never, never>)
33
34
declare namespace MockAdapter {
35
export interface RequestHandler {
0 commit comments