diff --git a/axe.d.ts b/axe.d.ts index 9d50626755..1d52ff0540 100644 --- a/axe.d.ts +++ b/axe.d.ts @@ -263,6 +263,7 @@ declare namespace axe { frames: SerialDqElement[]; results: PartialRuleResult[]; } + type PartialResults = Array interface FrameContext { frameSelector: CrossTreeSelector; frameContext: ContextObject; @@ -333,7 +334,7 @@ declare namespace axe { * @param {RunOptions} options Optional Options passed into rules or checks, temporarily modifying them. */ function finishRun( - partialResults: Array, + partialResults: PartialResults, options: RunOptions ): Promise;