mirror of
https://github.com/vercel/commerce.git
synced 2025-07-31 05:51:23 +00:00
Fix fetch types
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import type { RequestInit, Response } from '@vercel/fetch'
|
||||||
import { getConfig } from '..'
|
import { getConfig } from '..'
|
||||||
import { BigcommerceApiError, BigcommerceNetworkError } from './errors'
|
import { BigcommerceApiError, BigcommerceNetworkError } from './errors'
|
||||||
import fetch from './fetch'
|
import fetch from './fetch'
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
import type { RequestInit, Response } from '@vercel/fetch'
|
||||||
|
|
||||||
export interface CommerceAPIConfig {
|
export interface CommerceAPIConfig {
|
||||||
locale?: string
|
locale?: string
|
||||||
commerceUrl: string
|
commerceUrl: string
|
||||||
|
Reference in New Issue
Block a user