Skip to content

Commit

Permalink
fix(axe.d.ts): correct Check.evaluate and Check.after types (#976)
Browse files Browse the repository at this point in the history
* fix(axe.d.ts): correct `Check.evaluate` and `Check.after` types

These types may either be a string or a function.

Closes #974

* ci: trigger build
  • Loading branch information
stephenmathieson authored and WilcoFiers committed Jun 28, 2018
1 parent fedf6e9 commit db3ed40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ declare module axe {
}
interface Check {
id: string,
evaluate: Function,
after?: Function,
evaluate: Function | string,
after?: Function | string,
options?: any,
matches?: string,
enabled?: boolean
Expand Down

0 comments on commit db3ed40

Please sign in to comment.