Skip to content

Commit

Permalink
add calculateSelectorNode signature to index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart Veneman committed May 6, 2024
1 parent 1b2e844 commit be1f89d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type CSSTreeAST = Object; // @TODO: Define shape

// CORE
export function calculate(selector: string | CSSTreeAST): Array<Specificity>;
export function calculateSelectorNode(node: CSSTreeAST): { a: number; b: number; c: number; };

// UTIL: COMPARE
export function equals(s1: SpecificityInstanceOrObject, s2: SpecificityInstanceOrObject): boolean;
Expand Down

0 comments on commit be1f89d

Please sign in to comment.