Skip to content

Commit

Permalink
fix(route helper): mark pageOnlyProps as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
eidellev committed Sep 3, 2021
1 parent ae1c034 commit f45b4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adonis-typings/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ declare module '@ioc:Adonis/Core/Route' {
* @param {ResponseProps} pageOnlyProps View metadata that will be passed only to the edge view
* @return {RouteContract}
*/
inertia: (pattern: string, component: string, pageOnlyProps: ResponseProps) => RouterContract;
inertia: (pattern: string, component: string, pageOnlyProps?: ResponseProps) => RouterContract;
}
}

0 comments on commit f45b4c1

Please sign in to comment.