preact-router icon indicating copy to clipboard operation
preact-router copied to clipboard

Update exportable props and function signature to Match

Open kim3er opened this issue 1 year ago • 1 comments

Deals with https://github.com/preactjs/preact-router/issues/458 & https://github.com/preactjs/preact-router/issues/456.

I've added a type definition for <Match />'s children function, along with an exportable type for the function's own props.

kim3er avatar Jul 31 '23 08:07 kim3er

Looks like I've dup'd https://github.com/preactjs/preact-router/pull/422.

kim3er avatar Jul 31 '23 08:07 kim3er