File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -54,26 +54,26 @@ export type MongooseSchemaTypeParameters<
54
54
} [ Parameter ]
55
55
: { } ;
56
56
57
- const noCastFn = ( value : any ) => value ;
57
+ // const noCastFn = (value: any) => value;
58
58
59
59
export class MongooseZodBoolean extends M . SchemaTypes . Boolean {
60
60
static schemaName = 'MongooseZodBoolean' as 'Boolean' ;
61
- cast = noCastFn ;
61
+ // cast = noCastFn;
62
62
}
63
63
64
64
export class MongooseZodDate extends M . SchemaTypes . Date {
65
65
static schemaName = 'MongooseZodDate' as 'Date' ;
66
- cast = noCastFn ;
66
+ // cast = noCastFn;
67
67
}
68
68
69
69
export class MongooseZodNumber extends M . SchemaTypes . Number {
70
70
static schemaName = 'MongooseZodNumber' as 'Number' ;
71
- cast = noCastFn ;
71
+ // cast = noCastFn;
72
72
}
73
73
74
74
export class MongooseZodString extends M . SchemaTypes . String {
75
75
static schemaName = 'MongooseZodString' as 'String' ;
76
- cast = noCastFn ;
76
+ // cast = noCastFn;
77
77
}
78
78
79
79
export const registerCustomMongooseZodTypes = ( ) : void => {
You can’t perform that action at this time.
0 commit comments