ВВ
Type '{ required: boolean; type: StringConstructor; }' is not assignable to type 'SchemaTypeOpts<unknown> & { required: true; }'. Type '{ required: boolean; type: StringConstructor; }' is not assignable to type '{ required: true; }'. Types of property 'required' are incompatible. Type 'boolean' is not assignable to type 'true’.