File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ declare namespace axe {
168168 nodes : NodeResult [ ] ;
169169 }
170170 interface IncompleteResult extends Result {
171- error ?: Omit < SupportError , 'errorNode' > ;
171+ error ?: Omit < RuleError , 'errorNode' > ;
172172 }
173173 interface NodeResult {
174174 html : string ;
@@ -207,7 +207,7 @@ declare namespace axe {
207207 fail : string | { [ key : string ] : string } ;
208208 incomplete ?: string | { [ key : string ] : string } ;
209209 }
210- interface SupportError {
210+ interface RuleError {
211211 name : string ;
212212 message : string ;
213213 stack : string ;
@@ -479,12 +479,12 @@ declare namespace axe {
479479 isLabelledShadowDomSelector : (
480480 selector : unknown
481481 ) => selector is LabelledShadowDomSelector ;
482- SupportError : (
483- error : Error ,
484- ruleId ?: string ,
485- method ?: string ,
486- errorNode ?: DqElement
487- ) => SupportError ;
482+ RuleError : new ( options : {
483+ error : Error ;
484+ ruleId ?: string ;
485+ method ?: string ;
486+ errorNode ?: DqElement ;
487+ } ) => RuleError ;
488488 serializeError : ( error : Error ) => SerialError ;
489489 DqElement : DqElementConstructor ;
490490 uuid : (
You can’t perform that action at this time.
0 commit comments