Skip to content
This repository was archived by the owner on Apr 6, 2025. It is now read-only.

Proper typing for LinkProps.#106

Open
slacktracer wants to merge 1 commit intojorgebucaran:masterfrom
slacktracer:master
Open

Proper typing for LinkProps.#106
slacktracer wants to merge 1 commit intojorgebucaran:masterfrom
slacktracer:master

Conversation

@slacktracer
Copy link
Copy Markdown
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
Copy Markdown
Contributor

frenzzy commented May 30, 2019

@frenzzy
Copy link
Copy Markdown
Contributor

frenzzy commented May 30, 2019

This is the same as #93

@slacktracer
Copy link
Copy Markdown
Contributor Author

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

@slacktracer
Copy link
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

2 participants