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