Closed maumchaves closed 1 year ago
The latest type specification of SingletonRouter allows passing a generic type for the query property (readonly query?: Q;). This should be supported by the Routes class.
SingletonRouter
query
readonly query?: Q;
Routes
The following PR by Greenkeeper should be reviewed and merged: https://github.com/fridays/next-routes/pull/192 (Update @types/next to the latest version)
The latest type specification of
SingletonRouter
allows passing a generic type for thequery
property (readonly query?: Q;
). This should be supported by theRoutes
class.The following PR by Greenkeeper should be reviewed and merged: https://github.com/fridays/next-routes/pull/192 (Update @types/next to the latest version)