Languages beta
TypeAlias of @v12-engine/client
ts
export type Languages = Readonly<Record<string, MessagesFile | (() => Promise<MessagesFile | {
default: MessagesFile;
}>)>>;A game's languages, by their id (en, he, pt-BR), in order, the first the one the game is written in: each a table, or what fetches one (() => import('./he.json')) as it is chosen