Skip to content

Commit 209194b

Browse files
committed
remove extraneous logic
1 parent 866e35b commit 209194b

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

tsdoc-config/src/TSDocConfigFile.ts

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -769,20 +769,13 @@ export class TSDocConfigFile {
769769
}
770770
});
771771

772-
if (this._reportUnsupportedHtmlElements === false) {
773-
configuration.setReportUnsupportedHtmlElements(false);
774-
}
775-
776-
if (
777-
this._reportUnsupportedHtmlElements ||
778-
(this._reportUnsupportedHtmlElements === undefined && this.supportedHtmlElements)
779-
) {
780-
configuration.setReportUnsupportedHtmlElements(true);
781-
}
782-
783772
if (this.supportedHtmlElements) {
784773
configuration.setSupportedHtmlElements([...this.supportedHtmlElements]);
785774
}
775+
776+
if (this._reportUnsupportedHtmlElements === false) {
777+
configuration.setReportUnsupportedHtmlElements(false);
778+
}
786779
}
787780

788781
private _getNoStandardTagsWithExtends(): boolean {

0 commit comments

Comments
 (0)