Skip to content

Commit 8a448b8

Browse files
committed
fix: update to newest version
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 1284433 commit 8a448b8

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

src/vue-shim.d.ts

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
2-
* SPDX-FileCopyrightText: 2024 LibreSign contributors
2+
* SPDX-FileCopyrightText: 2026 LibreSign contributors
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
55

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'
6+
declare module '*.vue' {
7+
import type { DefineComponent } from 'vue'
8+
const component: DefineComponent
9+
export default component
1710
}

0 commit comments

Comments
 (0)