Skip to content

v0.1.2

Latest

Choose a tag to compare

@joshburgess joshburgess released this 02 May 16:36

Fix h() rest-arg type to accept array children. The 0.1.1 runtime change made h(tag, props, items.map(...)) flatten correctly, but ChildArg was left
non-recursive so the call site still failed type-checking. ChildArg is now VNode | string | number | null | undefined | ChildArg[].