UNPKG

@spree/storefront-api-v2-sdk

Version:

Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on

7 lines (6 loc) 340 B
import type { CreateFetcherConfig, Fetcher } from './ClientConfig'; export declare type CreateFetchFetcherConfig = CreateFetcherConfig & { fetch: typeof globalThis.fetch | any; requestConstructor: typeof globalThis.Request | any; }; export declare type CreateCustomizedFetchFetcher = (options: CreateFetchFetcherConfig) => Fetcher;