You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
457 B
10 lines
457 B
import type { BaseQueryFn } from './baseQueryTypes';
|
|
declare const _NEVER: unique symbol;
|
|
export declare type NEVER = typeof _NEVER;
|
|
/**
|
|
* Creates a "fake" baseQuery to be used if your api *only* uses the `queryFn` definition syntax.
|
|
* This also allows you to specify a specific error type to be shared by all your `queryFn` definitions.
|
|
*/
|
|
export declare function fakeBaseQuery<ErrorType>(): BaseQueryFn<void, NEVER, ErrorType, {}>;
|
|
export {};
|