Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
type alias TSPseudoClass
import { type TSPseudoClass } from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";
definition:
| { kind: "not"; selectors: Selector[]; }
| { kind: "first-child"; }
| { kind: "last-child"; }
| { kind: "only-child"; }
| { kind: "root"; }
| { kind: "empty"; }
| { kind: "scope"; }
| { a: number; b: number; kind: "nth-child"; of?: Selector[] | null; }
| { a: number; b: number; kind: "nth-last-child"; of?: Selector[] | null; }
| { a: number; b: number; kind: "nth-col"; }
| { a: number; b: number; kind: "nth-last-col"; }
| { a: number; b: number; kind: "nth-of-type"; }
| { a: number; b: number; kind: "nth-last-of-type"; }
| { kind: "first-of-type"; }
| { kind: "last-of-type"; }
| { kind: "only-of-type"; }
| { kind: "host"; selectors?: Selector | null; }
| { kind: "where"; selectors: Selector[]; }
| { kind: "is"; selectors: Selector[]; }
| { kind: "any"; selectors: Selector[]; vendorPrefix: VendorPrefix; }
| { kind: "has"; selectors: Selector[]; }