Skip to content

hyperscript tag creates error when bundling  #51

@suckrowPierre

Description

@suckrowPierre

I am writing a bun package in which I use typed-html. If I use the hyperscript tag _= as an html attribute I get the following error:
: string; }' is not assignable to type 'HtmlBodyTag'.
Property '
' does not exist on type 'HtmlBodyTag'.

      return (
        <body _={""}>
            {children}
        </body>
    )

does not work but the following works:

      return `
        <body _={""}>
            {children}
        </body>
    `

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