Skip to content

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
@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