mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
Taking multiple steps into better API types
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import cartApi from '@framework/api/cart'
|
||||
import cart from '@commerce/api/endpoints/cart'
|
||||
import { operations } from '@framework/api/cart'
|
||||
import commerce from '@lib/api/commerce'
|
||||
|
||||
const x = commerce.endpoint({ handler: cart, operations: {} as any })
|
||||
|
||||
export default cartApi()
|
||||
export default commerce.endpoint({ handler: cart, operations })
|
||||
|
Reference in New Issue
Block a user