1.2.1: Improved type system in `van.d.ts`
A minor release with changes to van.d.ts
to improve VanJS's type system:
- The binding function for state-derived child nodes is now taking the type
((dom?: Node) => ValidChildDomValue) | ((dom?: Element) => Element)
. - Specialize the return types of tag functions for more known tag names. Specifically,
1.2.1
added specialized return types for tags ofHTMLElement
type.
See the release announcement: #120