next-routes
next-routes copied to clipboard
Make routes class generic
- Allow
Routes
to be a generic class and so be consistent with the latest type definition ofSingletonRouter
. -
@types/next
has been updated -> See Greenkeeper comment: https://github.com/fridays/next-routes/pull/192#issuecomment-486058127
Closes #300