Fix languageFound type error on build

This commit is contained in:
Alexis Faizeau 2022-01-10 16:12:58 +01:00
parent 54ae3bf215
commit 68dc7c2555
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,12 @@
import fs from "fs";
export type LanguageFound = {
id: string;
language: string;
country: string;
default: boolean;
};
const translationsBasePath = "./translations";
const fallbackLanguage = process.env.FALLBACK_LANGUAGE || "en-US";