Skip to content

Commit da476db

Browse files
authored
fix: augment 'vue' instead of '@vue/runtime-core' (#154)
1 parent 2a32eb3 commit da476db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/js/types/globals.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ declare module '@inertiajs/core' {
1717
interface PageProps extends InertiaPageProps, AppPageProps {}
1818
}
1919

20-
declare module '@vue/runtime-core' {
20+
declare module 'vue' {
2121
interface ComponentCustomProperties {
2222
$inertia: typeof Router;
2323
$page: Page;

resources/js/types/ziggy.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ declare global {
44
let route: typeof route;
55
}
66

7-
declare module '@vue/runtime-core' {
7+
declare module 'vue' {
88
interface ComponentCustomProperties {
99
route: typeof route;
1010
}

0 commit comments

Comments
 (0)