File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
packages/toolkit/src/query Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,20 @@ export type FetchBaseQueryMeta = { request: Request; response?: Response }
188
188
* @param {number } timeout
189
189
* A number in milliseconds that represents the maximum time a request can take before timing out.
190
190
*/
191
+ export function fetchBaseQuery ( options ?: FetchBaseQueryArgs < { } > ) : BaseQueryFn <
192
+ string | FetchArgs ,
193
+ unknown ,
194
+ FetchBaseQueryError ,
195
+ { } ,
196
+ FetchBaseQueryMeta
197
+ >
198
+ export function fetchBaseQuery < ExtraOptions > ( options ?: FetchBaseQueryArgs < ExtraOptions > ) : BaseQueryFn <
199
+ string | FetchArgs ,
200
+ unknown ,
201
+ FetchBaseQueryError ,
202
+ ExtraOptions ,
203
+ FetchBaseQueryMeta
204
+ >
191
205
export function fetchBaseQuery < ExtraOptions > ( {
192
206
baseUrl,
193
207
prepareHeaders = ( x ) => x ,
You can’t perform that action at this time.
0 commit comments