Skip to content

Commit

Permalink
fix!: augment vue rather than @vue/runtime-core` (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Aug 16, 2024
1 parent 8b23c36 commit a0a1d28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime/plugins/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare module '#app' {
}
}

declare module '@vue/runtime-core' {
declare module 'vue' {
interface ComponentCustomProperties {
$pwa?: UnwrapNestedRefs<PwaInjection>
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/pwa-icons-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ declare module '#app' {
}
}
declare module '@vue/runtime-core' {
declare module 'vue' {
interface ComponentCustomProperties {
$pwaIcons?: PWAIcons
}
Expand Down

0 comments on commit a0a1d28

Please sign in to comment.