Skip to content

Commit aaddbb5

Browse files
chore: apply automatic fixes
1 parent ccdddf5 commit aaddbb5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/complex-types/src/core/printer.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ export class Printer {
6363
const isMapped = ts.isMappedTypeNode(node);
6464
for (const property of properties) {
6565
const questionToken = isMapped
66-
? node.questionToken?.getText() ?? ""
67-
: (property.flags & ts.SymbolFlags.Optional ? "?" : "");
66+
? (node.questionToken?.getText() ?? "")
67+
: property.flags & ts.SymbolFlags.Optional
68+
? "?"
69+
: "";
6870

6971
const valueType = this.checker.getTypeOfSymbol(property);
7072
const stringValueType = this.checker.typeToString(

0 commit comments

Comments
 (0)