Skip to content

Commit 7fd0944

Browse files
Fix ShareData type (#40)
1 parent 3d8e198 commit 7fd0944

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/js/types/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { LucideIcon } from 'lucide-vue-next';
2+
import type { PageProps } from '@inertiajs/core';
23

34
export interface Auth {
45
user: User;
@@ -16,7 +17,7 @@ export interface NavItem {
1617
isActive?: boolean;
1718
}
1819

19-
export interface SharedData {
20+
export interface SharedData extends PageProps {
2021
name: string;
2122
quote: { message: string; author: string };
2223
auth: Auth;

0 commit comments

Comments
 (0)