WebReflection / hyperHTML

A Fast & Light Virtual DOM Alternative
ISC License
3.06k stars 112 forks source link

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

Closed yuretz closed 1 year ago

yuretz commented 1 year 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 1 year 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 1 year ago

up and running, thanks 👍