FetchQueryParamsType
import { FetchQueryParamsType } from "@hyper-fetch/core"
Description
It will check if the query params are already set
Defined in command/command.types.ts:208
Preview
type FetchQueryParamsType<QueryParamsType,HasQuery> = HasQuery extends true ? { queryParams?: NegativeTypes } : { queryParams?: QueryParamsType | string };
Structure
HasQuery extends true ? {
queryParams: NegativeTypes;
} : {
queryParams: QueryParamsType | string;
}