GoScrobble/web/node_modules/@reduxjs/toolkit/dist/query/defaultSerializeQueryArgs.d.ts

14 lines
579 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import type { QueryCacheKey } from './core/apiState';
import type { EndpointDefinition } from './endpointDefinitions';
export declare const defaultSerializeQueryArgs: SerializeQueryArgs<any>;
export declare type SerializeQueryArgs<QueryArgs> = (_: {
queryArgs: QueryArgs;
endpointDefinition: EndpointDefinition<any, any, any, any>;
endpointName: string;
}) => string;
export declare type InternalSerializeQueryArgs = (_: {
queryArgs: any;
endpointDefinition: EndpointDefinition<any, any, any, any>;
endpointName: string;
}) => QueryCacheKey;