Skip to content

Typescript issues #93

@greentore

Description

@greentore
  1. render is typed to only allow () => uhtml.Hole when the documentation hints pasing holes directly is allowed too.
  2. html is typed to only allow primitive values or holes as values, which means inline event listeners like onclick=${handler} error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions