Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TypeScript support for Container.contains #4471

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

sjoerdmulder
Copy link
Contributor

Recently the code started using the contains method on the Node interface but this is not exposed in the types causing a runtime crash when implementing your own ContainerNode

@JoviDeCroock JoviDeCroock changed the title Adding contains method to ContainerNode Add TypeScript support for Container.contains Aug 6, 2024
@coveralls
Copy link

coveralls commented Aug 6, 2024

Coverage Status

coverage: 99.486%. remained the same
when pulling 8b046de on sjoerdmulder:patch-1
into ab743a9 on preactjs:main.

Copy link
Member

@JoviDeCroock JoviDeCroock left a comment

Choose a reason for hiding this comment

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

Thank you!

@JoviDeCroock JoviDeCroock merged commit 91679e5 into preactjs:main Aug 6, 2024
13 checks passed
@sjoerdmulder sjoerdmulder deleted the patch-1 branch August 6, 2024 13:54
@JoviDeCroock JoviDeCroock mentioned this pull request Aug 12, 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