@wocart/storefront / astro / StorefrontApiRoute
Type Alias: StorefrontApiRoute<C>
StorefrontApiRoute<
C> = (context) =>Promise<Response>
Type Parameters
C
C extends AstroAPIContext
Parameters
context
C
Returns
Promise<Response>
@wocart/storefront / astro / StorefrontApiRoute
StorefrontApiRoute<
C> = (context) =>Promise<Response>
C extends AstroAPIContext
C
Promise<Response>