Skip to content

Commit 486af96

Browse files
committed
chore: remove unused variables
1 parent 0441ff5 commit 486af96

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,6 @@ export class Printer {
8686
> = {};
8787
for (const prop of properties) {
8888
const propType = this.checker.getTypeOfSymbol(prop);
89-
const node = prop.declarations?.[0];
90-
const hasQuestionToken = !!(
91-
node &&
92-
ts.isPropertySignature(node) &&
93-
node.questionToken
94-
);
95-
9689
props[prop.getName()] = {
9790
value: this.printType(propType, true),
9891
isOptional: this.isSymbolOptional(prop),

0 commit comments

Comments
 (0)