Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

Proper typing for LinkProps. #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Proper typing for LinkProps. #106

wants to merge 1 commit into from

Conversation

slacktracer
Copy link
Contributor

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.

@frenzzy
Copy link
Contributor

frenzzy commented May 30, 2019

@frenzzy
Copy link
Contributor

frenzzy commented May 30, 2019

This is the same as #93

@slacktracer
Copy link
Contributor Author

@frenzzy Yeah, noticed it a few minutes ago...

@slacktracer
Copy link
Contributor Author

@frenzzy Actually it's even better as it accounts for all props. Just found out looking the code that all props are passed down...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants