Closed icatalina closed 2 months ago
We are currently repeating the same definition on each page, and type checking the list of routes is a bit more complex than it needs to be.
This introduces a type for PageProps that all pages can conform to and can be used to type the RouteItem.
PageProps
Revert
typescript
What/Why?
We are currently repeating the same definition on each page, and type checking the list of routes is a bit more complex than it needs to be.
This introduces a type for
PageProps
that all pages can conform to and can be used to type the RouteItem.Rollout/Rollback
Revert
Testing
typescript