Skip to content

Commit d90d461

Browse files
committed
🐛 Fix the types
1 parent 5eeeacc commit d90d461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export type SpecificityObject = { a: number; b: number; c: number };
44

55
export default class Specificity {
66
static calculate(selector: string | CSSTreeAST): Array<Specificity>;
7-
static calculateForAST(selectorAST: CSSTreeAST): Array<Specificity>;
7+
static calculateForAST(selectorAST: CSSTreeAST): Specificity;
88
static compare(s1: SpecificityInstanceOrObject, s2: SpecificityInstanceOrObject): number;
99
static equals(s1: SpecificityInstanceOrObject, s2: SpecificityInstanceOrObject): boolean;
1010
static lessThan(s1: SpecificityInstanceOrObject, s2: SpecificityInstanceOrObject): boolean;

0 commit comments

Comments
 (0)