forked from crowetic/commerce
Fix fetch types
This commit is contained in:
parent
af9dfe79d2
commit
cf5762058e
lib
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user