mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
axe-webdriverjs: try method overloading
This commit is contained in:
Vendored
+7
@@ -70,6 +70,13 @@ export interface AxeBuilder {
|
||||
*/
|
||||
configure(config: Spec): this;
|
||||
|
||||
/**
|
||||
* Perform analysis and retrieve results.
|
||||
* Old API without error parameter for callback
|
||||
* @param callback Function to execute when analysis completes.
|
||||
*/
|
||||
analyze(callback?: (results: AxeAnalysis) => void): Promise<AxeAnalysis>;
|
||||
|
||||
/**
|
||||
* Perform analysis and retrieve results.
|
||||
* @param callback Function to execute when analysis completes.
|
||||
|
||||
Reference in New Issue
Block a user