@@ -97,7 +97,7 @@ export class CLI {
97
97
// @internal (undocumented)
98
98
getConfig(): ConfigData ;
99
99
// (undocumented)
100
- getFormatter(formatters : string ): (report : Report ) => string ;
100
+ getFormatter(formatters : string ): (report : Report_2 ) => string ;
101
101
// @internal
102
102
getLoader(): ConfigLoader ;
103
103
getValidator(): HtmlValidate ;
@@ -635,38 +635,38 @@ export class HtmlValidate {
635
635
getRuleDocumentation(ruleId : string , config ? : ResolvedConfig | Promise <ResolvedConfig > | null , context ? : unknown | null ): Promise <RuleDocumentation | null >;
636
636
// @deprecated
637
637
getRuleDocumentationSync(ruleId : string , config ? : ResolvedConfig | null , context ? : unknown | null ): RuleDocumentation | null ;
638
- validateFile(filename : string ): Promise <Report >;
639
- validateFileSync(filename : string ): Report ;
640
- validateMultipleFiles(filenames : string []): Promise <Report >;
641
- validateMultipleFilesSync(filenames : string []): Report ;
642
- validateSource(input : Source , configOverride ? : ConfigData ): Promise <Report >;
643
- validateSourceSync(input : Source , configOverride ? : ConfigData ): Report ;
644
- validateString(str : string ): Promise <Report >;
638
+ validateFile(filename : string ): Promise <Report_2 >;
639
+ validateFileSync(filename : string ): Report_2 ;
640
+ validateMultipleFiles(filenames : string []): Promise <Report_2 >;
641
+ validateMultipleFilesSync(filenames : string []): Report_2 ;
642
+ validateSource(input : Source , configOverride ? : ConfigData ): Promise <Report_2 >;
643
+ validateSourceSync(input : Source , configOverride ? : ConfigData ): Report_2 ;
644
+ validateString(str : string ): Promise <Report_2 >;
645
645
// (undocumented)
646
- validateString(str : string , filename : string ): Promise <Report >;
646
+ validateString(str : string , filename : string ): Promise <Report_2 >;
647
647
// (undocumented)
648
- validateString(str : string , hooks : SourceHooks ): Promise <Report >;
648
+ validateString(str : string , hooks : SourceHooks ): Promise <Report_2 >;
649
649
// (undocumented)
650
- validateString(str : string , options : ConfigData ): Promise <Report >;
650
+ validateString(str : string , options : ConfigData ): Promise <Report_2 >;
651
651
// (undocumented)
652
- validateString(str : string , filename : string , hooks : SourceHooks ): Promise <Report >;
652
+ validateString(str : string , filename : string , hooks : SourceHooks ): Promise <Report_2 >;
653
653
// (undocumented)
654
- validateString(str : string , filename : string , options : ConfigData ): Promise <Report >;
654
+ validateString(str : string , filename : string , options : ConfigData ): Promise <Report_2 >;
655
655
// (undocumented)
656
- validateString(str : string , filename : string , options : ConfigData , hooks : SourceHooks ): Promise <Report >;
657
- validateStringSync(str : string ): Report ;
656
+ validateString(str : string , filename : string , options : ConfigData , hooks : SourceHooks ): Promise <Report_2 >;
657
+ validateStringSync(str : string ): Report_2 ;
658
658
// (undocumented)
659
- validateStringSync(str : string , filename : string ): Report ;
659
+ validateStringSync(str : string , filename : string ): Report_2 ;
660
660
// (undocumented)
661
- validateStringSync(str : string , hooks : SourceHooks ): Report ;
661
+ validateStringSync(str : string , hooks : SourceHooks ): Report_2 ;
662
662
// (undocumented)
663
- validateStringSync(str : string , options : ConfigData ): Report ;
663
+ validateStringSync(str : string , options : ConfigData ): Report_2 ;
664
664
// (undocumented)
665
- validateStringSync(str : string , filename : string , hooks : SourceHooks ): Report ;
665
+ validateStringSync(str : string , filename : string , hooks : SourceHooks ): Report_2 ;
666
666
// (undocumented)
667
- validateStringSync(str : string , filename : string , options : ConfigData ): Report ;
667
+ validateStringSync(str : string , filename : string , options : ConfigData ): Report_2 ;
668
668
// (undocumented)
669
- validateStringSync(str : string , filename : string , options : ConfigData , hooks : SourceHooks ): Report ;
669
+ validateStringSync(str : string , filename : string , options : ConfigData , hooks : SourceHooks ): Report_2 ;
670
670
}
671
671
672
672
// @public (undocumented)
@@ -1010,12 +1010,13 @@ export interface ProcessElementContext {
1010
1010
export type PropertyExpression = string | [string , any ];
1011
1011
1012
1012
// @public
1013
- export interface Report {
1013
+ interface Report_2 {
1014
1014
errorCount: number ;
1015
1015
results: Result [];
1016
1016
valid: boolean ;
1017
1017
warningCount: number ;
1018
1018
}
1019
+ export { Report_2 as Report }
1019
1020
1020
1021
// @public (undocumented)
1021
1022
export class Reporter {
@@ -1026,11 +1027,11 @@ export class Reporter {
1026
1027
addManual(filename : string , message : DeferredMessage ): void ;
1027
1028
// (undocumented)
1028
1029
protected isValid(): boolean ;
1029
- static merge(reports : Report []): Report ;
1030
+ static merge(reports : Report_2 []): Report_2 ;
1030
1031
// (undocumented)
1031
1032
protected result: Record <string , DeferredMessage []>;
1032
1033
// (undocumented)
1033
- save(sources ? : Source []): Report ;
1034
+ save(sources ? : Source []): Report_2 ;
1034
1035
}
1035
1036
1036
1037
// @public (undocumented)
0 commit comments