Type Alias: CombinatorSchema<T>
A schema produced by combinator factory functions. Any ArgSchema whose parse function returns T qualifies. The parse of ArgSchema, which returns any, is left out, so that a schema fits only where the values that it parses do: integer() is not a CombinatorSchema<string>.
Signature
ts
export type CombinatorSchema<T> = Omit<ArgSchema, 'parse'> & Combinator<T>Type Parameters
| Name | Description |
|---|---|
T | The parsed value type. |
