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 a003be9 commit 05bcc93Copy full SHA for 05bcc93
packages/schema/src/plugins/zod/generator.ts
@@ -326,6 +326,7 @@ export class ZodSchemaGenerator {
326
327
private addPreludeAndImports(decl: DataModel | TypeDef, writer: CodeBlockWriter, output: string) {
328
writer.writeLine('/* eslint-disable */');
329
+ writer.writeLine('// @ts-nocheck');
330
writer.writeLine(`import { z } from 'zod';`);
331
332
// import user-defined enums from Prisma as they might be referenced in the expressions
0 commit comments