From f7cfed73c0c0a1141d37dd1efd25160e1410adde Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Fri, 24 May 2024 15:31:08 +0200 Subject: [PATCH] Add module declarations for svg and png ressources Signed-off-by: Daniel Ziegenberg --- src/custom.d.ts | 2 ++ src/i18n/languages.ts | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 src/custom.d.ts diff --git a/src/custom.d.ts b/src/custom.d.ts new file mode 100644 index 0000000000..6146f8cdda --- /dev/null +++ b/src/custom.d.ts @@ -0,0 +1,2 @@ +declare module "*.svg"; +declare module "*.png"; \ No newline at end of file diff --git a/src/i18n/languages.ts b/src/i18n/languages.ts index a0bdb977fc..fb106f3d27 100644 --- a/src/i18n/languages.ts +++ b/src/i18n/languages.ts @@ -43,8 +43,7 @@ import { zhCN } from "date-fns/locale/zh-CN"; * dateLocale: is needed for translation in datepicker * * !!! If a translation file of a new language was added, please insert these language here, too !!! - * - * */ + */ const languages = [ { code: "en-US",