File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export interface ValidationSchemaPluginConfig extends TypeScriptPluginConfig {
87
87
* notAllowEmptyString: true
88
88
* ```
89
89
*/
90
- notAllowEmptyString ?: boolean ;
90
+ notAllowEmptyString ?: boolean ;
91
91
/**
92
92
* @description Generates validation schema with more API based on directive schema.
93
93
* @exampleMarkdown
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ const generateInputObjectFieldTypeZodSchema = (
118
118
if ( isNonNullType ( parentType ) ) {
119
119
if ( config . notAllowEmptyString === true ) {
120
120
const tsType = tsVisitor . scalars [ type . name . value ] ;
121
- if ( tsType === 'string' ) return `${ gen } .min(1)`
121
+ if ( tsType === 'string' ) return `${ gen } .min(1)` ;
122
122
}
123
123
return gen ;
124
124
}
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ describe('yup', () => {
238
238
'c: yup.boolean().defined(),' ,
239
239
'd: yup.number().defined(),' ,
240
240
'e: yup.number().defined()' ,
241
- ]
241
+ ] ;
242
242
for ( const wantContain of wantContains ) {
243
243
expect ( result . content ) . toContain ( wantContain ) ;
244
244
}
You can’t perform that action at this time.
0 commit comments