preactjs / preact-router

:earth_americas: URL router for Preact.
http://npm.im/preact-router
MIT License
1.01k stars 156 forks source link

Type of object in Match function? #398

Closed mellis481 closed 3 years ago

mellis481 commented 3 years ago

The documentation gives the following example for Match:

<Match path="/">
  { ({ matches, path, url }) => (
    <pre>{url}</pre>
  ) }
</Match>

Where is the type definition for the object that has the matches, path, and url properties? I can't see to find it.