feat(medusa): Add writable type
This commit is contained in:
@@ -7,6 +7,8 @@ export type PartialPick<T, K extends keyof T> = {
|
||||
[P in K]?: T[P]
|
||||
}
|
||||
|
||||
export type Writable<T> = { -readonly [key in keyof T]: T[key] }
|
||||
|
||||
export type TotalField =
|
||||
| "shipping_total"
|
||||
| "discount_total"
|
||||
|
||||
Reference in New Issue
Block a user