Skip to content

Commit

Permalink
fix(d.ts): Add PartialResults type (#3126)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers authored Aug 23, 2021
1 parent f18c2e0 commit 544b6d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion axe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ declare namespace axe {
frames: SerialDqElement[];
results: PartialRuleResult[];
}
type PartialResults = Array<PartialResult | null>
interface FrameContext {
frameSelector: CrossTreeSelector;
frameContext: ContextObject;
Expand Down Expand Up @@ -333,7 +334,7 @@ declare namespace axe {
* @param {RunOptions} options Optional Options passed into rules or checks, temporarily modifying them.
*/
function finishRun(
partialResults: Array<PartialResult | null>,
partialResults: PartialResults,
options: RunOptions
): Promise<AxeResults>;

Expand Down

0 comments on commit 544b6d5

Please sign in to comment.