Typescript
- Breaking change
Inferno.JSX.Element
type has been removed in favor of more correct automatic typingInfernoNode
andInfernoNodeSingle
has been added as top level exports toinferno
package.InfernoNode
can be used as a replacement forInferno.JSX.Element
for type checking "any" JSX entryInfernoNodeSingle
can be used to restrict Component children to a single JSX node ( excluding arrays )
This fixes issue: #1630
- $ReCreate attribute has been added to allowed TSX attributes
- selectedIndex property has been added to allowed
select
attributes - type
Key
has been unified and moved as top level export ofinferno
package - math formula elements are now allowed in TSX
- Typescript has been upgraded to v5
- media element is now correctly typed in TSX
Inferno-vnode-flags
- 0 is now reserved for unknown value
Internal
- all inferno package tests has been converted to TSX
- development dependencies updated