Skip to content

Commit

Permalink
fix(axe.d.ts): add element to NodeResults (#2211)
Browse files Browse the repository at this point in the history
* types: add `element` to NodeResults

* make the element property optional

* actually make it a HTMLElement
  • Loading branch information
Kristján Oddsson authored May 6, 2020
1 parent 695ec04 commit 2429355
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions axe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ declare namespace axe {
all: CheckResult[];
none: CheckResult[];
failureSummary?: string;
element?: HTMLElement;
}
interface CheckResult {
id: string;
Expand Down

0 comments on commit 2429355

Please sign in to comment.