Open kim3er opened 1 year ago
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.
<Match />
children
Looks like I've dup'd https://github.com/preactjs/preact-router/pull/422.
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 />
'schildren
function, along with an exportable type for the function's own props.