forked from FoundKeyGang/FoundKey
Fix type
This commit is contained in:
parent
44f3888c24
commit
4d48b0be99
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue