Fix type
This commit is contained in:
parent
44f3888c24
commit
4d48b0be99
@ -5,7 +5,7 @@
|
|||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as yaml from 'js-yaml';
|
import * as yaml from 'js-yaml';
|
||||||
|
|
||||||
export type LangKey = 'de' | 'en' | 'fr' | 'ja' | 'pl';
|
export type LangKey = 'de' | 'en' | 'fr' | 'ja' | 'pl' | 'es';
|
||||||
export type LocaleObject = { [key: string]: any };
|
export type LocaleObject = { [key: string]: any };
|
||||||
|
|
||||||
const loadLang = (lang: LangKey) => yaml.safeLoad(
|
const loadLang = (lang: LangKey) => yaml.safeLoad(
|
||||||
|
Loading…
Reference in New Issue
Block a user