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 a61ced6 commit 571e984Copy full SHA for 571e984
axe.d.ts
@@ -12,6 +12,11 @@ declare module axe {
12
13
type RunOnlyType = "rule" | "rules" | "tag" | "tags";
14
15
+ type RunOnlyObject = {
16
+ include?: string[],
17
+ exclude?: string[]
18
+ }
19
+
20
type RunCallback = (error: Error, results:AxeResults) => void;
21
22
interface ElementContext {
@@ -22,11 +27,7 @@ declare module axe {
27
}
23
28
interface RunOnly {
24
29
type: RunOnlyType,
25
- value?: {
26
- include?: string[],
- exclude?: string[]
- }
- values?: TagValue[]
30
+ values?: TagValue[] | RunOnlyObject
31
32
interface RunOptions {
33
runOnly?: RunOnly,
0 commit comments