Skip to content

Commit 05bcc93

Browse files
committed
fix: ignore file from typechecking
1 parent a003be9 commit 05bcc93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/schema/src/plugins/zod/generator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ export class ZodSchemaGenerator {
326326

327327
private addPreludeAndImports(decl: DataModel | TypeDef, writer: CodeBlockWriter, output: string) {
328328
writer.writeLine('/* eslint-disable */');
329+
writer.writeLine('// @ts-nocheck');
329330
writer.writeLine(`import { z } from 'zod';`);
330331

331332
// import user-defined enums from Prisma as they might be referenced in the expressions

0 commit comments

Comments
 (0)