Skip to content

Commit

Permalink
fix: augment @vue/runtime-core
Browse files Browse the repository at this point in the history
  • Loading branch information
kingyue737 committed Aug 26, 2024
1 parent 2580707 commit 7646bcf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions augmentation.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// See https://github.com/nuxt/nuxt/releases/tag/v3.13.0
import type {
ComponentCustomOptions as _ComponentCustomOptions,
ComponentCustomProperties as _ComponentCustomProperties,
} from 'vue'

declare module '@vue/runtime-core' {
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface ComponentCustomProperties extends _ComponentCustomProperties {}
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface ComponentCustomOptions extends _ComponentCustomOptions {}
}

declare module '#app' {
interface PageMeta {
icon?: string
Expand Down

0 comments on commit 7646bcf

Please sign in to comment.