Просмотр исходного кода

Merge pull request #25771 from overleaf/kh-pass-locale-to-checkout

[web] pass locale and currency to Stripe checkout

GitOrigin-RevId: 410cde4849226a70c5a6b295554d96984f48f9fb
Kristina 1 год назад
Родитель
Сommit
53fc78d83e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      services/web/types/subscription/currency.ts

+ 1 - 0
services/web/types/subscription/currency.ts

@@ -20,3 +20,4 @@ export const currencies = <const>{
 
 type Currency = typeof currencies
 export type CurrencyCode = keyof Currency
+export type StripeCurrencyCode = Lowercase<CurrencyCode>