Skip to content

Commit 0dcfdbf

Browse files
Code-Hexactions-user
authored andcommitted
Apply auto lint-fix changes
1 parent baba818 commit 0dcfdbf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/zod/index.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@ export const ZodSchemaVisitor = (schema: GraphQLSchema, config: ValidationSchema
3030
initialEmit: (): string =>
3131
'\n' +
3232
[
33-
new DeclarationBlock({}).asKind('type').withName('Properties<T>').withContent([
34-
'Required<{',
35-
' [K in keyof T]: z.ZodType<T[K], any, T[K]>;',
36-
'}>',
37-
].join('\n')).string,
33+
new DeclarationBlock({})
34+
.asKind('type')
35+
.withName('Properties<T>')
36+
.withContent(['Required<{', ' [K in keyof T]: z.ZodType<T[K], any, T[K]>;', '}>'].join('\n')).string,
3837
// Unfortunately, zod doesn’t provide non-null defined any schema.
3938
// This is a temporary hack until it is fixed.
4039
// see: https://github.com/colinhacks/zod/issues/884

0 commit comments

Comments
 (0)