From 9fa8c5429b1191e9705caf06d113ec196755e0ae Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Mon, 10 Jun 2024 17:07:12 +0200 Subject: [PATCH] fix: remove jsxTemplates this is not necessary any more in vite 5 --- frontend/src/types/shims-tsx.d.ts | 13 ------------- frontend/tsconfig.app.json | 4 ---- 2 files changed, 17 deletions(-) delete mode 100644 frontend/src/types/shims-tsx.d.ts diff --git a/frontend/src/types/shims-tsx.d.ts b/frontend/src/types/shims-tsx.d.ts deleted file mode 100644 index c656c68b8..000000000 --- a/frontend/src/types/shims-tsx.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import Vue, { VNode } from 'vue' - -declare global { - namespace JSX { - // tslint:disable no-empty-interface - interface Element extends VNode {} - // tslint:disable no-empty-interface - interface ElementClass extends Vue {} - interface IntrinsicElements { - [elem: string]: any - } - } -} diff --git a/frontend/tsconfig.app.json b/frontend/tsconfig.app.json index eb3cb5719..625ccc212 100644 --- a/frontend/tsconfig.app.json +++ b/frontend/tsconfig.app.json @@ -19,9 +19,5 @@ "vite-plugin-sentry/client" ], "ignoreDeprecations": "5.0" - }, - "vueCompilerOptions": { - // "strictTemplates": true - "jsxTemplates": true } } \ No newline at end of file