From 4341654470c01894453170d5a255a7093ad066d3 Mon Sep 17 00:00:00 2001 From: masterElmar <18119527+masterElmar@users.noreply.github.com> Date: Fri, 17 Nov 2023 20:49:25 +0100 Subject: [PATCH] fix:#71 fixed formatting and import for moment --- frontend/package-lock.json | 6 +++--- frontend/src/components/ModuleInformation.vue | 2 +- frontend/tsconfig.json | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 2f46aa0..1a3f9e4 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -2982,9 +2982,9 @@ } }, "node_modules/postcss": { - "version": "8.4.28", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.28.tgz", - "integrity": "sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw==", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "funding": [ { "type": "opencollective", diff --git a/frontend/src/components/ModuleInformation.vue b/frontend/src/components/ModuleInformation.vue index 7df983c..893a917 100644 --- a/frontend/src/components/ModuleInformation.vue +++ b/frontend/src/components/ModuleInformation.vue @@ -2,7 +2,7 @@ import {inject} from "vue"; import {Module} from "../model/module.ts"; import {Event} from "../model/event.ts"; -import * as moment from 'moment-timezone'; +import moment from "moment-timezone"; // eslint-disable-next-line @typescript-eslint/no-explicit-any const dialogRef = inject("dialogRef") as any; diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 44a1581..46c9d90 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -17,7 +17,8 @@ "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true + "noFallthroughCasesInSwitch": true, + "allowSyntheticDefaultImports": true }, "paths": { "@/*": ["./src/*"]