Skip to content

compat internal types: import and re-export PreactElement#3228

Merged
rschristian merged 2 commits intopreactjs:mainfrom
henryqdineen:hqd-compat-types
Apr 23, 2024
Merged

compat internal types: import and re-export PreactElement#3228
rschristian merged 2 commits intopreactjs:mainfrom
henryqdineen:hqd-compat-types

Conversation

@henryqdineen
Copy link
Copy Markdown
Contributor

Since PreactElement is used in this module we should also import it instead of only doing the export {} from.

https://github.com/henryqdineen/preact/blob/a1309b8e1a51ee51ca93848d69dc30a5d3ad0356/compat/src/internal.d.ts#L25

I understand that these are just internal types that are used for ts-check but it was just something that I noticed. It seems like it has been innocuous so far. Thanks!

Copy link
Copy Markdown
Member

@rschristian rschristian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this was missed and sat for so long

@rschristian rschristian merged commit f0c3e1d into preactjs:main Apr 23, 2024
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 99.605%. remained the same
when pulling cab57f2 on henryqdineen:hqd-compat-types
into e2c8a45 on preactjs:main.

@JoviDeCroock JoviDeCroock mentioned this pull request Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants