You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The path type checking, unfortunately, requires Template Literal Types which landed in TypeScript v4.1. We can park this for later. But internal matcher is still possible.
pathToRegexp
provides nice functionality for parsing routes, but also includes a lot of functionality we do not use or need.Simple built-in function could reduce footprint further. Take a look at following:
With these few common patterns we can describe every route matcher Regexp
The text was updated successfully, but these errors were encountered: