Fix fetch types

This commit is contained in:
Luis Alvarez 2020-10-25 17:57:35 -05:00
parent af9dfe79d2
commit cf5762058e
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import type { RequestInit, Response } from '@vercel/fetch'
import { getConfig } from '..'
import { BigcommerceApiError, BigcommerceNetworkError } from './errors'
import fetch from './fetch'

View File

@ -1,3 +1,5 @@
import type { RequestInit, Response } from '@vercel/fetch'
export interface CommerceAPIConfig {
locale?: string
commerceUrl: string