Skip to content

Commit

Permalink
Merge pull request #897 from e111077/fix-resultTypes
Browse files Browse the repository at this point in the history
chore(types): add resultTypes to typings
  • Loading branch information
dylanb authored May 17, 2018
2 parents d2c64ff + 2f71405 commit 556c305
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion axe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ declare module axe {

type RunOnlyType = "rule" | "rules" | "tag" | "tags";

type resultGroups = "inapplicable" | "passes" | "incomplete" | "violations";

type RunOnlyObject = {
include?: string[] | string[][],
exclude?: string[] | string[][]
Expand All @@ -30,7 +32,8 @@ declare module axe {
rules?: Object,
iframes?: Boolean,
elementRef?: Boolean,
selectors?: Boolean
selectors?: Boolean,
resultTypes?: resultGroups[],
}
interface AxeResults {
url: string,
Expand Down

0 comments on commit 556c305

Please sign in to comment.