feat: support rendering array elements

This commit is contained in:
M. George Hansen 2020-06-02 16:39:44 -07:00
parent 3304958b01
commit 7b80d2f324
4 changed files with 35 additions and 14 deletions

View file

@ -26,6 +26,7 @@ export interface HTMLElement {
* All valid types of elements that can be rendered to HTML.
*/
export type Element =
| Element[]
| HTMLElement
| string
| number