fridays / next-routes

Universal dynamic routes for Next.js
MIT License
2.47k stars 230 forks source link

Typescript types are not up to date with API #248

Closed seawatts closed 1 year ago

seawatts commented 6 years ago

The following method are not exported with the type definitions

class Routes {
  findByName (name)
  match (url)
  findAndGetUrls (nameOrUrl, params)
  getLink (Link)
  getRouter (Router)
}
Weffe commented 5 years ago

Is this still unsolved? I could make a PR with the added typings if needed.

jack-sf commented 5 years ago

There's a PR in https://github.com/fridays/next-routes/pull/277 but this repo seems to be abandoned for now https://github.com/fridays/next-routes/issues/244