Skip to content

Commit fb862c5

Browse files
committed
chore: add curly around statements
eslint --fix
1 parent bdff378 commit fb862c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/type-doc.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ export class TypeDoc extends LitElement {
185185

186186
private cloneHeading() {
187187
const hidden = this.shadowRoot.querySelector(".visually-hidden");
188-
if (!hidden) return;
189-
for (const child of Array.from(hidden.children)) child.remove();
188+
if (!hidden) {return;}
189+
for (const child of Array.from(hidden.children)) {child.remove();}
190190
const heading = this.querySelector('[slot="name"]');
191-
if (!heading) return;
191+
if (!heading) {return;}
192192
hidden.append(heading.cloneNode(true));
193193
}
194194

0 commit comments

Comments
 (0)