hyperapp-router
hyperapp-router copied to clipboard
Proper typing for LinkProps.
TS compiler complains without it... So I wasn't being able to add a class to my links as I learned in https://github.com/jorgebucaran/hyperapp-router/issues/86.
maybe something like this is better? https://github.com/DefinitelyTyped/DefinitelyTyped/blob/4685bbd27150e7261dd65705b72cc812f9651b43/types/react-router-dom/index.d.ts#L49-L53
This is the same as #93
@frenzzy Yeah, noticed it a few minutes ago...
@frenzzy Actually it's even better as it accounts for all props. Just found out looking the code that all props are passed down...