-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
is .closest
supported?
#16
Comments
Can you provide more details? (For example, MDN documentation link) |
|
Sorry for delay! v2.6.0 is released. |
Awesome!! your so fast! |
Could the default fallback be HTMLElement? |
I think we should keep align with TypeScript's built-in types. |
ok how would I set that in my project (sorry I don't really know typescript [yet]) thanks |
Are there any use cases or examples? |
I may need to investigate usage and try to find a solution.
|
What do you think about exporting a file that defaults to HTMLElement for both querySelector and closest? So I can use |
I also thought about that several months ago, but the reason why I didn't do it finally is that there's already |
That's alright, I ended up copy-pasting shim.d.ts and adjusting it. Thanks a lot for this package! |
No description provided.
The text was updated successfully, but these errors were encountered: