We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1284433 commit 8a448b8Copy full SHA for 8a448b8
src/vue-shim.d.ts
@@ -1,17 +1,10 @@
1
/*
2
- * SPDX-FileCopyrightText: 2024 LibreSign contributors
+ * SPDX-FileCopyrightText: 2026 LibreSign contributors
3
* SPDX-License-Identifier: AGPL-3.0-or-later
4
*/
5
6
-/**
7
- * This file ensures proper type resolution for Vue 3
8
- * by explicitly referencing the runtime-dom types
9
- */
10
-
11
-/// <reference types="@vue/runtime-dom" />
12
13
-// Ensure all Vue exports are available
14
-declare module 'vue' {
15
- export * from '@vue/runtime-dom'
16
- export { compile, compileToFunction } from '@vue/compiler-dom'
+declare module '*.vue' {
+ import type { DefineComponent } from 'vue'
+ const component: DefineComponent
+ export default component
17
}
0 commit comments