mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
Adding types, fixes and other updates
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import cart from '@commerce/api/endpoints/cart'
|
||||
import { operations } from '@framework/api/cart'
|
||||
import { CartAPI, operations } from '@framework/api/cart'
|
||||
import commerce from '@lib/api/commerce'
|
||||
|
||||
export default commerce.endpoint({ handler: cart, operations })
|
||||
export default commerce.endpoint({
|
||||
handler: cart as CartAPI['endpoint']['handler'],
|
||||
operations,
|
||||
})
|
||||
|
Reference in New Issue
Block a user