Fix ts errors upon prod compilation

This commit is contained in:
2025-03-14 15:07:23 +01:00
parent 40eb71f95a
commit 7ddf84ea5a
6 changed files with 32 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
// @ts-ignore Cannot find module (when used within an app)
import { trans, getLocale, setLocale, setLocaleFallbacks } from "@symfony/ux-translator";
import { trans, setLocale, setLocaleFallbacks } from "@symfony/ux-translator";
setLocaleFallbacks({"en": "fr", "nl": "fr", "fr": "en"});
setLocale('fr');