feat: support rendering array elements

This commit is contained in:
M. George Hansen 2020-06-02 16:39:44 -07:00
parent dcc4c8d5a3
commit 206c58ab88
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