Skip to content

Commit

Permalink
Update User type to match db schema (#399)
Browse files Browse the repository at this point in the history
* Update index.d.ts

* Update index.d.ts
  • Loading branch information
ninjaparade authored Aug 12, 2024
1 parent 7d66aa4 commit ef23708
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stubs/inertia-react-ts/resources/js/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export interface User {
id: number;
name: string;
email: string;
email_verified_at: string;
email_verified_at?: string;
}

export type PageProps<T extends Record<string, unknown> = Record<string, unknown>> = T & {
Expand Down
2 changes: 1 addition & 1 deletion stubs/inertia-vue-ts/resources/js/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export interface User {
id: number;
name: string;
email: string;
email_verified_at: string;
email_verified_at?: string;
}

export type PageProps<T extends Record<string, unknown> = Record<string, unknown>> = T & {
Expand Down

0 comments on commit ef23708

Please sign in to comment.