next-routes icon indicating copy to clipboard operation
next-routes copied to clipboard

Routes class should be generic

Open maumchaves opened this issue 5 years ago • 0 comments

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.

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)

maumchaves avatar Apr 24 '19 15:04 maumchaves