We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@default()
1 parent f1a8cef commit 52b29dfCopy full SHA for 52b29df
packages/sdk/src/ts-schema-generator.ts
@@ -507,7 +507,9 @@ export class TsSchemaGenerator {
507
...(defaultValue.args.length > 0
508
? [
509
ts.factory.createArrayLiteralExpression(
510
- defaultValue.args.map((arg) => this.createLiteralNode(arg)),
+ defaultValue.args.map((arg) => this.createExpressionUtilsCall('literal', [
511
+ this.createLiteralNode(arg)
512
+ ])),
513
),
514
]
515
: []),
0 commit comments