@smg-automotive/i18n-pkg
Advanced tools
Comparing version 1.1.0-plural-handler-59a6a597081b25723fa04da89645dcf78fd383bb.1 to 1.1.0-plural-handler-dcf804e6508b117e2e41434b96416fa7469ce350.1
import React from 'react'; | ||
export declare type Language = 'de' | 'fr' | 'it' | 'en'; | ||
declare type TranslateFunction = (key: string, params?: { | ||
declare type Params = { | ||
count?: number | string; | ||
ignoreMissingTranslation?: boolean; | ||
[key: string]: unknown; | ||
}) => string; | ||
}; | ||
declare type TranslateFunction = (key: string, params?: Params) => string; | ||
declare type Dictionary = Record<string, any>; | ||
@@ -9,0 +10,0 @@ declare type OnMissing = (error: Error) => void; |
import React from 'react'; | ||
export declare type Language = 'de' | 'fr' | 'it' | 'en'; | ||
declare type TranslateFunction = (key: string, params?: { | ||
declare type Params = { | ||
count?: number | string; | ||
ignoreMissingTranslation?: boolean; | ||
[key: string]: unknown; | ||
}) => string; | ||
}; | ||
declare type TranslateFunction = (key: string, params?: Params) => string; | ||
declare type Dictionary = Record<string, any>; | ||
@@ -9,0 +10,0 @@ declare type OnMissing = (error: Error) => void; |
import React from 'react'; | ||
declare type Language = 'de' | 'fr' | 'it' | 'en'; | ||
declare type TranslateFunction = (key: string, params?: { | ||
declare type Params = { | ||
count?: number | string; | ||
ignoreMissingTranslation?: boolean; | ||
[key: string]: unknown; | ||
}) => string; | ||
}; | ||
declare type TranslateFunction = (key: string, params?: Params) => string; | ||
declare type Dictionary = Record<string, any>; | ||
@@ -10,0 +11,0 @@ declare type OnMissing = (error: Error) => void; |
{ | ||
"name": "@smg-automotive/i18n-pkg", | ||
"version": "1.1.0-plural-handler-59a6a597081b25723fa04da89645dcf78fd383bb.1", | ||
"version": "1.1.0-plural-handler-dcf804e6508b117e2e41434b96416fa7469ce350.1", | ||
"description": "A boilerplate package setup", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
72400
522