We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eeeacc commit d90d461Copy full SHA for d90d461
index.d.ts
@@ -4,7 +4,7 @@ export type SpecificityObject = { a: number; b: number; c: number };
4
5
export default class Specificity {
6
static calculate(selector: string | CSSTreeAST): Array<Specificity>;
7
- static calculateForAST(selectorAST: CSSTreeAST): Array<Specificity>;
+ static calculateForAST(selectorAST: CSSTreeAST): Specificity;
8
static compare(s1: SpecificityInstanceOrObject, s2: SpecificityInstanceOrObject): number;
9
static equals(s1: SpecificityInstanceOrObject, s2: SpecificityInstanceOrObject): boolean;
10
static lessThan(s1: SpecificityInstanceOrObject, s2: SpecificityInstanceOrObject): boolean;
0 commit comments