mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 21:51:21 +00:00
Typescript build error fixed
This commit is contained in:
parent
53517925b9
commit
4dd52b3003
@ -1,4 +1,8 @@
|
||||
const request = async ({query, variables}) => {
|
||||
interface requestProps {
|
||||
query: string
|
||||
variables: any
|
||||
}
|
||||
const request = async ({query, variables}: requestProps) => {
|
||||
|
||||
const data = await fetch('http://localhost:5000/shop-api', {
|
||||
method: "POST",
|
||||
|
Loading…
x
Reference in New Issue
Block a user