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 b983f62 commit d0a2760Copy full SHA for d0a2760
types/index.d.ts
@@ -10,7 +10,7 @@ type ResponseSpecFunc = <T = any>(
10
headers?: any
11
) => MockAdapter;
12
13
-type NetErr = 'ENOTFOUND' | 'ECONNREFUSED' | 'ECONNRESET' | 'ECONNABORTED' | 'ETIMEDOUT'
+type NetErr = 'ENOTFOUND' | 'ECONNREFUSED' | 'ECONNRESET' | 'ECONNABORTED' | 'ETIMEDOUT' | (string & Record<never, never>)
14
15
declare namespace MockAdapter {
16
export interface RequestHandler {
0 commit comments