Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 780ab41

Browse files
fix: update formatted type in order CustomDiscount (#800)
1 parent 39c7977 commit 780ab41

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/types/order.d.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,7 @@ export interface OrderItemBase {
161161
}
162162

163163
export interface CustomDiscount {
164-
amount: {
165-
amount: number
166-
currency: string
167-
}
164+
amount: FormattedPrice
168165
type: string
169166
id: string
170167
external_id: string

0 commit comments

Comments
 (0)