testStyles callback should return void instead of boolean

Fixes failing tests
This commit is contained in:
Theodore Brown
2013-06-18 17:02:03 -05:00
parent 586858c1dc
commit f99cbec760
+1 -1
View File
@@ -105,7 +105,7 @@ interface ModernizrStatic {
addTest(feature: string, test: boolean);
addTest(feature: any);
testStyles(rule: string, callback: (element, rule) => boolean, nodes?: number, testnames?: string[]): boolean;
testStyles(rule: string, callback: (element, rule) => void, nodes?: number, testnames?: string[]): boolean;
testProp(property: string): boolean;
testAllProps(property: string, prefix?: string): boolean;
testAllProps(property: string, obj: any, element: any): boolean;