Skip to content

Commit

Permalink
Update laravext.d.ts
Browse files Browse the repository at this point in the history
missing types for Head and Link component
  • Loading branch information
ArthurYdalgo committed Aug 24, 2024
1 parent 2b6f8fe commit bb767e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/js/types/laravext.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
declare module "@laravext/react" {
export const createLaravextApp: any;
export const createLaravextSsrApp: any;
export const Head: any;
export const Link: any;
export const laravextPageData: any;
export const version: any;
export const nexus: any;
export const nexusProps: any;
// export function sharedProps<T extends SharedProps>(): Page<T>; // the T generic will combine any type you add to it & the PageProps interface defined in @inertiajs/core
export const sharedProps: any;
export const routeParams: any;
export const routeName: any;
Expand Down

0 comments on commit bb767e7

Please sign in to comment.