UNPKG
@bmat/translation-management
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Manage Front-End translations from multiple sources
bitbucket.org/bmat-music/translation-management
@bmat/translation-management
/
dist
/
lib
/
extractors
/
flatten-i18n-json
/
flatten-i18n-json.d.ts
7 lines
(6 loc)
•
235 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{ I18nJson }
from
'lib/interfaces/i18n-json.interface'
;
/** * Transforms a nested parsed JSON to a Map * with keys given by path key1.key1.1... */
export
declare
function
flattenI18nJSON
(
json
: I18nJson
):
Map
<
string
,
string
>;