rsnext/test/integration/app-types
Shu Ding 89e30409b0
Implement Route type for router APIs (#47931)
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
2023-04-06 00:30:58 +00:00
..
src Implement Route type for router APIs (#47931) 2023-04-06 00:30:58 +00:00
app-types.test.js Implement Route type for router APIs (#47931) 2023-04-06 00:30:58 +00:00
next.config.js Add optional match support of rewrites and redirects in typedRoutes (#47398) 2023-03-22 23:27:59 +00:00
package.json Improve type checking with tests (#45940) 2023-02-15 14:49:45 +00:00
tsconfig.json Improve type checking (#46276) 2023-02-23 00:37:19 +01:00