Metakit / @doeixd/metakit
SchemaOf
type · packages/metakit/src/path.ts:532
type SchemaOf = Schema.Top & Schema.ConstraintDecoder<unknown>Constraint for a generic helper that both composes a Schema (Schema.Struct,
Schema.Array, Expr.refine) and decodes it synchronously
(Schema.decodeUnknownSync).
In the guides
- NextMetakit / @doeixd/metakit
- 5. Write a generic helper over a SchemaMetakit / Write a rule once