From 63fcf57098d762f57f4ccfc9573bb924c930629b Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Tue, 13 Aug 2024 13:06:53 -0300 Subject: [PATCH] code --- src/NodeParser/ObjectLiteralExpressionNodeParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NodeParser/ObjectLiteralExpressionNodeParser.ts b/src/NodeParser/ObjectLiteralExpressionNodeParser.ts index 0bec7359d..f5ab4bfac 100644 --- a/src/NodeParser/ObjectLiteralExpressionNodeParser.ts +++ b/src/NodeParser/ObjectLiteralExpressionNodeParser.ts @@ -88,7 +88,7 @@ export class ObjectLiteralExpressionNodeParser implements SubNodeParser { return new ObjectProperty( t.name.getText(), this.childNodeParser.createType(type, context), - !(t as ts).questionToken, + !(t as any).questionToken, ); }); }