Typescript generic type for props
tjenkinson opened this issue · comments
Tom Jenkinson commented
First great lib. We're starting to use it on iPlayer TV and so far it's going well :)
I was wondering if you've thought about using a generic type for props so that type safety is kept there?
Happy to give it a go, but was wondering if this is already missing for a reason. I.e. if someone tried and hit a roadblock it would be good to know.
Jan van Brügge commented
I have not tried it. Not sure how the ergonomics for the user would play out if one has to carry around the generic argument