mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-29 11:12:23 +08:00
testStyles callback should return void instead of boolean
Fixes failing tests
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user