Skip to content

Commit 5ecd96c

Browse files
Code-Hexactions-user
authored andcommitted
Apply auto lint-fix changes
1 parent 2256838 commit 5ecd96c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/myzod/index.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ export const MyZodSchemaVisitor = (schema: GraphQLSchema, config: ValidationSche
3030
initialEmit: (): string =>
3131
'\n' +
3232
[
33-
new DeclarationBlock({})
34-
.export()
35-
.asKind('const')
36-
.withName(`${anySchema}`)
37-
.withContent(`myzod.object({})`).string,
33+
new DeclarationBlock({}).export().asKind('const').withName(`${anySchema}`).withContent(`myzod.object({})`)
34+
.string,
3835
].join('\n'),
3936
InputObjectTypeDefinition: (node: InputObjectTypeDefinitionNode) => {
4037
const name = tsVisitor.convertName(node.name.value);

0 commit comments

Comments
 (0)