/opt/canhelp/node_modules/zod/src/v4/classic
NameSizeModeActions
tests/-0755rm
checks.ts6980644editdlrm
coerce.ts15030644editdlrm
compat.ts20050644editdlrm
errors.ts26640644editdlrm
external.ts10660644editdlrm
index.ts1000644editdlrm
iso.ts31820644editdlrm
parse.ts14390644editdlrm
schemas.ts719290644editdlrm
Edit: /opt/canhelp/node_modules/zod/src/v4/classic/coerce.ts (1503B)
import * as core from "../core/index.js"; import * as schemas from "./schemas.js"; export interface ZodCoercedString extends schemas._ZodString> {} export function string(params?: string | core.$ZodStringParams): ZodCoercedString { return core._coercedString(schemas.ZodString, params) as any; } export interface ZodCoercedNumber extends schemas._ZodNumber> {} export function number(params?: string | core.$ZodNumberParams): ZodCoercedNumber { return core._coercedNumber(schemas.ZodNumber, params) as ZodCoercedNumber; } export interface ZodCoercedBoolean extends schemas._ZodBoolean> {} export function boolean(params?: string | core.$ZodBooleanParams): ZodCoercedBoolean { return core._coercedBoolean(schemas.ZodBoolean, params) as ZodCoercedBoolean; } export interface ZodCoercedBigInt extends schemas._ZodBigInt> {} export function bigint(params?: string | core.$ZodBigIntParams): ZodCoercedBigInt { return core._coercedBigint(schemas.ZodBigInt, params) as ZodCoercedBigInt; } export interface ZodCoercedDate extends schemas._ZodDate> {} export function date(params?: string | core.$ZodDateParams): ZodCoercedDate { return core._coercedDate(schemas.ZodDate, params) as ZodCoercedDate; }