makeCast
export function makeCast<TStrict, TPermissive>(
schema: TypeSchema,
config: CastConfig
): Cast<TStrict, TPermissive>
Type parameters
TStrict
TStrict extends any
TPermissive
TPermissive extends any
Arguments
1. schema
schema: TypeSchema
2. config
config: CastConfig
Returns
Cast<TStrict, TPermissive>