File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/toolkit/src/query Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ export interface FetchArgs extends CustomRequestInit {
26
26
body ?: any
27
27
responseHandler ?: ResponseHandler
28
28
validateStatus ?: ( response : Response , body : any ) => boolean
29
+ /**
30
+ * A number in milliseconds that represents that maximum time a request can take before timing out.
31
+ */
29
32
timeout ?: number
30
33
}
31
34
@@ -129,11 +132,8 @@ export type FetchBaseQueryArgs = {
129
132
* Defaults to `application/json`;
130
133
*/
131
134
jsonContentType ?: string
132
- /**
133
- * A number in milliseconds that represents that maximum time a request can take before timing out.
134
- */
135
- timeout ?: number
136
- } & RequestInit
135
+ } & RequestInit &
136
+ Pick < FetchArgs , 'responseHandler' | 'validateStatus' | 'timeout' >
137
137
138
138
export type FetchBaseQueryMeta = { request : Request ; response ?: Response }
139
139
You can’t perform that action at this time.
0 commit comments