Type declaration
bigint: ((params?) => ZodBigInt)
- (params?): ZodBigInt
Parameters
Optional
params: {
description?: string;
errorMap?: ZodErrorMap;
invalid_type_error?: string;
required_error?: string;
} & {
coerce?: boolean;
}
boolean: ((params?) => ZodBoolean)
- (params?): ZodBoolean
Parameters
Optional
params: {
description?: string;
errorMap?: ZodErrorMap;
invalid_type_error?: string;
required_error?: string;
} & {
coerce?: boolean;
}
date: ((params?) => ZodDate)
- (params?): ZodDate
Parameters
Optional
params: {
description?: string;
errorMap?: ZodErrorMap;
invalid_type_error?: string;
required_error?: string;
} & {
coerce?: boolean;
}
number: ((params?) => ZodNumber)
- (params?): ZodNumber
Parameters
Optional
params: {
description?: string;
errorMap?: ZodErrorMap;
invalid_type_error?: string;
required_error?: string;
} & {
coerce?: boolean;
}
string: ((params?) => ZodString)
- (params?): ZodString
Parameters
Optional
params: {
description?: string;
errorMap?: ZodErrorMap;
invalid_type_error?: string;
required_error?: string;
} & {
coerce?: true;
}