89e30409b0
This pull request extends the type checking functionality of the `typedRoutes` feature, which is currently available in the `<Link href={Route}>` component, to the following `router` APIs: `router.push()`, `router.prefetch()`, and `router.replace()`. The implementation leverages the existing work done for the `<Link>` component, allowing for a straightforward integration of type checking into the aforementioned `router` APIs. fix NEXT-501 |
||
---|---|---|
.. | ||
src | ||
app-types.test.js | ||
next.config.js | ||
package.json | ||
tsconfig.json |