From 2c7c669326a66112401358282d53550e2ee526d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ng=C3=B4=20Qu=E1=BB=91c=20=C4=90=E1=BA=A1t?= Date: Mon, 4 Nov 2024 04:01:59 +0700 Subject: [PATCH] fix(ts): remove redundant @ts-expect-error directives in SSR route setup (#434) --- stubs/inertia-react-ts/resources/js/ssr.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/stubs/inertia-react-ts/resources/js/ssr.tsx b/stubs/inertia-react-ts/resources/js/ssr.tsx index 5811c0556..fededb16b 100644 --- a/stubs/inertia-react-ts/resources/js/ssr.tsx +++ b/stubs/inertia-react-ts/resources/js/ssr.tsx @@ -22,9 +22,7 @@ createServer((page) => // @ts-expect-error global.route = (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 */