From 58a41f394b5592d5eaa98cf05160c475edf3d013 Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Thu, 19 Aug 2021 11:58:21 +0200 Subject: [PATCH] fix(d.ts): Add PartialResults type --- axe.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;