Skip to content

Commit

Permalink
Add missing typing
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p committed Dec 7, 2023
1 parent 7fadd59 commit 34585d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core-flows/src/handlers/cart/create-cart.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AddressDTO, CartDTO } from "@medusajs/types"
import { AddressDTO, CartDTO, CustomerDTO, RegionDTO } from "@medusajs/types"
import { WorkflowArguments } from "@medusajs/workflows-sdk"

enum Aliases {
Expand All @@ -20,12 +20,12 @@ type HandlerInputData = {
billing_address_id: string
}
customer: {
customer?: any
customer?: CustomerDTO
customer_id?: string
email?: string
}
region: {
region?: any
region?: RegionDTO
region_id: string
}
context: {
Expand Down

0 comments on commit 34585d7

Please sign in to comment.