Skip to content

Commit 8a1d8b2

Browse files
committed
feature: isAdmin type property
1 parent fd1b2aa commit 8a1d8b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/js/types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export interface User {
1313

1414
export interface AuthProps {
1515
user: User | null;
16+
isAdmin?: boolean;
1617
}
1718

1819
export interface FlashProps {

0 commit comments

Comments
 (0)