g-plane / typed-query-selector

Better typed `querySelector` and `querySelectorAll`.

Home Page:https://www.npmjs.com/package/typed-query-selector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for :has()

fregante opened this issue · comments

The selector isn't available anywhere yet, so maybe it's best to wait. But I wanted to open this issue to keep track of it

https://twitter.com/jensimmons/status/1473051429115940868?s=20

The selector is available in the public Safari 15.4 🙂

The good part is that :has() can be completely ignored because it does not affect the final type.

It was already ignored as a pseudo class, so you can try it now.