Skip to content

Commit a7e5f0b

Browse files
committed
code formatting
1 parent 3dc9bee commit a7e5f0b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/lib/output/themes/default/DefaultThemeRenderContext.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ export class DefaultThemeRenderContext {
5959
}
6060

6161
incrementCurrentDepth(): void {
62-
this.currentDepth ++;
62+
this.currentDepth++;
6363
}
6464

6565
decrementCurrentDepth(): void {
66-
this.currentDepth --;
66+
this.currentDepth--;
6767
}
6868

6969
hook = (name: keyof RendererHooks) =>

src/lib/output/themes/default/partials/type.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ function renderUniquePath(context: DefaultThemeRenderContext, reflection: Reflec
6868
));
6969
}
7070
function includeIndentation(context: DefaultThemeRenderContext): JSX.Element {
71-
return context.getCurrentDepth() > 0
72-
? <span>{new Array(context.getCurrentDepth() * 4).fill('\u00A0').join('')}</span>
73-
: <></>;
71+
return context.getCurrentDepth() > 0 ? (
72+
<span>{new Array(context.getCurrentDepth() * 4).fill("\u00A0").join("")}</span>
73+
) : (
74+
<></>
75+
);
7476
}
7577

7678
// The type helper accepts an optional needsParens parameter that is checked
@@ -372,7 +374,7 @@ const typeRenderers: {
372374
includeIndentation(context),
373375
m,
374376
<span class="tsd-signature-symbol">; </span>,
375-
<br></br>
377+
<br></br>,
376378
]);
377379
membersWithSeparators.pop();
378380

0 commit comments

Comments
 (0)