refactor(medusa): Migrate StoreService to TS (#1413)

This commit is contained in:
Adrien de Peretti
2022-06-09 19:46:50 +01:00
committed by GitHub
parent 5172b21d09
commit a605622bcb
10 changed files with 333 additions and 289 deletions
@@ -1,4 +1,14 @@
export const currencies = {
export type Currency = {
symbol: string
name: string
symbol_native: string
decimal_digits: number
rounding: number
code: string
name_plural: string
}
export const currencies: Record<string, Currency> = {
USD: {
symbol: "$",
name: "US Dollar",