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]
|
[P in K]?: T[P]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type Writable<T> = { -readonly [key in keyof T]: T[key] }
|
||||||
|
|
||||||
export type TotalField =
|
export type TotalField =
|
||||||
| "shipping_total"
|
| "shipping_total"
|
||||||
| "discount_total"
|
| "discount_total"
|
||||||
|
|||||||
Reference in New Issue
Block a user