Skip to content

Broaden typings for JSX? #6

@kitsonk

Description

@kitsonk

I haven't looked into it yet, but the typings for the first argument ImageResponse() don't work "well" with other JSX libraries. For example, I am using Fresh/Preact and I have to bang an as any at the end element and it works just fine at runtime. Satori accepts basically anything that looks like a JSX object. I don't know how easy it would be to make the typings more "accepting".

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