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.
1 parent ab2718a commit 1fff860Copy full SHA for 1fff860
src/printer/index.ts
@@ -660,7 +660,7 @@ export class Printer {
660
if (runtimeValidate) {
661
this.#mainContent.push('block', validateAbleRequestArgs.map((arg) => {
662
const optionalIf = arg.required ? '' : `(${arg.argName} !== undefined) && `;
663
- return `${optionalIf}${arg.zodName}.parse(${arg.argName})`;
+ return `${optionalIf}${arg.zodName}.parse(${arg.argName});`;
664
}));
665
}
666
0 commit comments