WebReflection / hyperHTML

A Fast & Light Virtual DOM Alternative
ISC License
3.07k stars 113 forks source link

Added return type inference for the Component.for() utility #410

Closed yuretz closed 2 years ago

yuretz commented 2 years ago

With this micro-change the return type for a code like MyButton.for(whatever) should be correctly inferred to be MyButton instead of the more general Component .

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 3181854209


Totals Coverage Status
Change from base Build 2839908400: 0.0%
Covered Lines: 314
Relevant Lines: 347

💛 - Coveralls
WebReflection commented 2 years ago

up and running, thanks 👍