Skip to content

Commit a0a1d28

Browse files
authored
fix!: augment vue rather than @vue/runtime-core` (#151)
1 parent 8b23c36 commit a0a1d28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/runtime/plugins/types.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare module '#app' {
3535
}
3636
}
3737

38-
declare module '@vue/runtime-core' {
38+
declare module 'vue' {
3939
interface ComponentCustomProperties {
4040
$pwa?: UnwrapNestedRefs<PwaInjection>
4141
}

src/utils/pwa-icons-helper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ declare module '#app' {
6464
}
6565
}
6666
67-
declare module '@vue/runtime-core' {
67+
declare module 'vue' {
6868
interface ComponentCustomProperties {
6969
$pwaIcons?: PWAIcons
7070
}

0 commit comments

Comments
 (0)