Skip to content

Commit

Permalink
修复编译ts报错
Browse files Browse the repository at this point in the history
  • Loading branch information
Rococoscarlet committed Dec 11, 2024
1 parent f705f6b commit 8d7939f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/ts/declarations.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type {
ComponentCustomOptions as _ComponentCustomOptions,
ComponentCustomProperties as _ComponentCustomProperties,
} from 'vue';

declare module '@vue/runtime-core' {
interface ComponentCustomProperties extends _ComponentCustomProperties {}
interface ComponentCustomOptions extends _ComponentCustomOptions {}
}

0 comments on commit 8d7939f

Please sign in to comment.