Fix tests

This commit is contained in:
Pieter Vander Vennet 2022-06-20 03:14:44 +02:00
parent 6023f6e36c
commit 193834c286
16 changed files with 22 additions and 42 deletions

View file

@ -6,7 +6,7 @@ import CompiledTranslations from "../../assets/generated/CompiledTranslations";
export default class Translations {
static t = CompiledTranslations.t;
static readonly t : typeof CompiledTranslations.t & Readonly<typeof CompiledTranslations.t> = CompiledTranslations.t;
private static knownLanguages = new Set(known_languages.languages)
constructor() {
throw "Translations is static. If you want to intitialize a new translation, use the singular form"