Skip to content

stale JSXInternal.HTMLAttributes and JSXInternal.SVGAttributes references in 11.0.0-beta.0 #4980

@turjmner8

Description

@turjmner8
  • Check if updating to the latest Preact version resolves the issue

Describe the bug
It looks like the index.d.ts file within preact/jsx-runtime/src has stale references to JSXInternal.HTMLAttributes and JSXInternal.SVGAttributes in 11.0.0-beta.0 causing TS to throw errors during build.

Those two types should be imported directly from 'preact' instead.

To Reproduce

Load the index.d.ts file in a TS environment and see the errors.

Expected behavior

File should be updated to reflect the latest type definitions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions