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 `:is()` and other functions

fregante opened this issue · comments

:is(a,link) doesn’t seem to be supported. There’s also :where() which works almost identically

It seems that there aren't differences between :is and :where for parsing CSS selector, right?

Thank you for the quick fix!

However, there's a bug when you use more than one :is or :where and I'm trying to fix it.

It's good to test also if it works with :is():not()

v2.5.0 is released. Feel free to provide feedback.

@yakov116 Please follow #14 .