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

Home > @vue-storefront/core > ContextedPlatformApi

ContextedPlatformApi type

Signature:

export declare type ContextedPlatformApi<T extends PlatformApi> = {
    [P in keyof T]: T[P] extends (context: Context, ...arg: infer X) => Promise<any> ? (...arg: X) => Promise<any> : never;
};

References: PlatformApi, Context