Make json creating scripts follow new Lean format

This commit is contained in:
Kalle
2022-09-06 20:11:33 +03:00
parent bb3552959a
commit 62aac935b2
3 changed files with 19 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ export const LANG_JSONS_TO_CREATE = [
export async function loadLangDicts() {
const result: Array<
[langCode: string, translations: Record<string, string>]
[langCode: string, translations: Record<string, Record<string, string>>]
> = [];
const files = await fs.promises.readdir(LANG_DICTS_PATH);