github vanjs-org/van 1.2.1
1.2.1: Improved type system in `van.d.ts`

latest releases: 1.6.0, 1.5.5, 1.5.3...
2 years ago

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 of HTMLElement type.

See the release announcement: #120

Don't miss a new van release

NewReleases is sending notifications on new releases.