UNPKG

457 BTypeScriptView Raw
1import type { BaseQueryFn } from './baseQueryTypes';
2declare const _NEVER: unique symbol;
3export declare type NEVER = typeof _NEVER;
4/**
5 * Creates a "fake" baseQuery to be used if your api *only* uses the `queryFn` definition syntax.
6 * This also allows you to specify a specific error type to be shared by all your `queryFn` definitions.
7 */
8export declare function fakeBaseQuery<ErrorType>(): BaseQueryFn<void, NEVER, ErrorType, {}>;
9export {};