Skip to content

V0.17.4: Improved typings, use element attributes for non-HTML nodes

Latest
Compare
Choose a tag to compare
@matAtWork matAtWork released this 03 Jan 13:54

This release improves the typescript typings and uses a heuristic to determine whether to set element fields as JS properties (HTML elements) or DOM attributes (others, eg SVG elements).

Note that the improved typings do not permit assignment of iterable properties holding arrays. These still need a type cast since Typescript cannot have different types for setters and getters with computed property names.

Full Changelog: Release-v0.17.3...Release-v0.17.4