Skip to content
New issue

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

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

Already on GitHub? # to your account

Improve types to accept document as a scope #8

Closed
wants to merge 1 commit into from
Closed

Improve types to accept document as a scope #8

wants to merge 1 commit into from

Conversation

motiejunas
Copy link
Contributor

As of now elements of type Element were accepted only. This lets to avoid unnecessary document as any in TypeScript.

As of now elements of type Element were accepted only. This lets to avoid unnecessary "document as any" in TS.
@aslakhellesoy
Copy link
Contributor

Merged in b24cf4b. Thanks @motiejunas!

@aslakhellesoy
Copy link
Contributor

Hi @motiejunas this is now in 1.4.0 which I just released.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants