Skip to content

Commit 2d916b5

Browse files
committed
fix(types): Update index.d.ts
1 parent c5c3fab commit 2d916b5

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

Diff for: index.d.ts

+36-36
Original file line numberDiff line numberDiff line change
@@ -13,129 +13,129 @@ export interface AxeConfig {
1313
/**
1414
* string(optional) sets the brand string - default "axe"
1515
*/
16-
brand?: string,
16+
brand?: string;
1717
/**
1818
* string(optional) sets the application string - default "axeAPI"
1919
*/
20-
application?: string
21-
},
20+
application?: string;
21+
};
2222
/**
2323
* Used to set the output format that the axe.run function will pass to the callback function
2424
*/
25-
reporter?: string,
25+
reporter?: string;
2626
/**
2727
* Used to add checks to the list of checks used by rules, or to override the properties of existing checks
2828
*/
29-
checks?: any,
29+
checks?: any;
3030
/**
3131
* Used to add rules to the existing set of rules, or to override the properties of existing rules
3232
*/
33-
rules?: any,
33+
rules?: any;
3434
/**
3535
* A locale object to apply (at runtime) to all rules and checks, in the same shape as /locales/*.json.
3636
*/
37-
locale?: any,
37+
locale?: any;
3838
/**
3939
* Set the compatible version of a custom rule with the current axe version. Compatible versions are all patch and minor updates that are the same as, or newer than those of the `axeVersion` property
4040
*/
41-
axeVersion?: string
41+
axeVersion?: string;
4242
}
4343

4444
export interface AxeRunOptions {
4545
/**
4646
* Limit which rules are executed, based on names or tags
4747
*/
48-
runOnly?: any,
48+
runOnly?: any;
4949
/**
5050
* Allow customizing a rule's properties (including { enable: false })
5151
*/
52-
rules?: any,
52+
rules?: any;
5353
/**
5454
* Which reporter to use
5555
*/
56-
reporter?: string,
56+
reporter?: string;
5757
/**
5858
* Limit which result types are processed and aggregated
5959
*/
60-
resultTypes?: any,
60+
resultTypes?: any;
6161
/**
6262
* Return xpath selectors for elements
6363
*/
64-
xpath?: boolean,
64+
xpath?: boolean;
6565
/**
6666
* Use absolute paths when creating element selectors
6767
*/
68-
absolutePaths?: boolean,
68+
absolutePaths?: boolean;
6969
/**
7070
* Tell axe to run inside iframes
7171
*/
72-
iframes?: boolean,
72+
iframes?: boolean;
7373
/**
7474
* Return element references in addition to the target
7575
*/
76-
elementRef?: boolean,
76+
elementRef?: boolean;
7777
/**
7878
* Scrolls elements back to before axe started
7979
*/
80-
restoreScroll?: boolean,
80+
restoreScroll?: boolean;
8181
/**
8282
* How long (in milliseconds) axe waits for a response from embedded frames before timing out
8383
*/
84-
frameWaitTime?: number,
84+
frameWaitTime?: number;
8585
/**
8686
* Any additional assets (eg: cssom) to preload before running rules
8787
*/
88-
preload?: boolean,
88+
preload?: boolean;
8989
/**
9090
* Log rule performance metrics to the console
9191
*/
92-
performanceTimer?: boolean
92+
performanceTimer?: boolean;
9393
}
9494

9595
export interface VueAxeStyle {
96-
head?: string,
97-
boldCourier?: string,
98-
moderate?: string,
99-
critical?: string,
100-
serious?: string,
101-
minor?: string,
102-
title?: string,
103-
url?: string
96+
head?: string;
97+
boldCourier?: string;
98+
moderate?: string;
99+
critical?: string;
100+
serious?: string;
101+
minor?: string;
102+
title?: string;
103+
url?: string;
104104
}
105105

106106
export interface VueAxeOptions {
107107
/**
108108
* Disables automatic verification. Only checks with $axe.run
109109
*/
110-
auto?: boolean,
110+
auto?: boolean;
111111
/**
112112
* Clears the console each time vue-axe runs
113113
*/
114-
clearConsoleOnUpdate?: boolean,
114+
clearConsoleOnUpdate?: boolean;
115115
/**
116116
* Provide your Axe-core configuration
117117
*/
118-
config?: AxeConfig,
118+
config?: AxeConfig;
119119
/**
120120
* Provide your Axe-core runtime options
121121
*/
122-
runOptions?: AxeRunOptions,
122+
runOptions?: AxeRunOptions;
123123
/**
124124
* Used to delay the first check. - `Millisecond`
125125
*/
126-
delay?: number
126+
delay?: number;
127127
/**
128128
*
129129
*/
130-
style?: VueAxeStyle,
130+
style?: VueAxeStyle;
131131
/**
132132
* Register Axe plugins
133133
*/
134-
plugins?: any[],
134+
plugins?: any[];
135135
/**
136136
* Handle the results. (This may be needed for automated tests)
137137
*/
138-
customResultHandler?: (error: any, results: any)
138+
customResultHandler?: (error: any, results: any);
139139
}
140140

141141
export interface VueAxe {

0 commit comments

Comments
 (0)