You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > ApiClientMethods

ApiClientMethods type

Signature:

export declare type ApiClientMethods<T> = {
    [K in keyof T]: T[K] extends (...args: any) => any ? (...args: [...Parameters<T[K]>, CustomQuery?]) => ReturnType<T[K]> : T[K];
};

References: CustomQuery