import { p, pa } from "@sthir/predicate"
pa({} as Element, p())
// ~~~
// Type instantiation is excessively deep and possibly infinite.(2589)
Not sure why it's happening, possibly because Element has many keys... If that's the reason then we need to figure out a test for type with many keys (or union with many constituents) and then don't compute index operator for them (which means now .parentNode, .children, etc won't show up in the intellisense completetion) and only validate it.