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 {
8787 * notAllowEmptyString: true
8888 * ```
8989 */
90- notAllowEmptyString ?: boolean ;
90+ notAllowEmptyString ?: boolean ;
9191 /**
9292 * @description Generates validation schema with more API based on directive schema.
9393 * @exampleMarkdown
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ const generateInputObjectFieldTypeZodSchema = (
118118 if ( isNonNullType ( parentType ) ) {
119119 if ( config . notAllowEmptyString === true ) {
120120 const tsType = tsVisitor . scalars [ type . name . value ] ;
121- if ( tsType === 'string' ) return `${ gen } .min(1)`
121+ if ( tsType === 'string' ) return `${ gen } .min(1)` ;
122122 }
123123 return gen ;
124124 }
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ describe('yup', () => {
238238 'c: yup.boolean().defined(),' ,
239239 'd: yup.number().defined(),' ,
240240 'e: yup.number().defined()' ,
241- ]
241+ ] ;
242242 for ( const wantContain of wantContains ) {
243243 expect ( result . content ) . toContain ( wantContain ) ;
244244 }
You can’t perform that action at this time.
0 commit comments