Skip to content

Commit

Permalink
fix(ts): remove redundant @ts-expect-error directives in SSR route se…
Browse files Browse the repository at this point in the history
…tup (#434)
  • Loading branch information
datlechin authored Nov 3, 2024
1 parent 3d8884f commit 2c7c669
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions stubs/inertia-react-ts/resources/js/ssr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ createServer((page) =>
// @ts-expect-error
global.route<RouteName> = (name, params, absolute) =>
route(name, params as any, absolute, {
// @ts-expect-error
...page.props.ziggy,
// @ts-expect-error
location: new URL(page.props.ziggy.location),
});
/* eslint-enable */
Expand Down

0 comments on commit 2c7c669

Please sign in to comment.