summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/i18n
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-01 19:07:14 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-01 19:07:14 +0530
commitbb369f2e2ab7838751ce9aae2e23622be1391586 (patch)
tree3fca0a5d7047b1f38ec230657e0c8f0c0cc891e0 /packages/taler-wallet-core/src/i18n
parent8c33e05bf08976403719a17b1faf424109a7eaa5 (diff)
downloadwallet-core-bb369f2e2ab7838751ce9aae2e23622be1391586.tar.gz
wallet-core-bb369f2e2ab7838751ce9aae2e23622be1391586.tar.bz2
wallet-core-bb369f2e2ab7838751ce9aae2e23622be1391586.zip
auto-format
Diffstat (limited to 'packages/taler-wallet-core/src/i18n')
-rw-r--r--packages/taler-wallet-core/src/i18n/index.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/i18n/index.ts b/packages/taler-wallet-core/src/i18n/index.ts
index b8788115c..a820eaeb1 100644
--- a/packages/taler-wallet-core/src/i18n/index.ts
+++ b/packages/taler-wallet-core/src/i18n/index.ts
@@ -85,6 +85,9 @@ export function str(stringSeq: TemplateStringsArray, ...values: any[]): string {
* from a JSON object. Fall back to the default language of the JSON object
* if no match exists.
*/
-export function getJsonI18n<K extends string>(obj: Record<K, string>, key: K): string {
+export function getJsonI18n<K extends string>(
+ obj: Record<K, string>,
+ key: K,
+): string {
return obj[key];
-} \ No newline at end of file
+}