Hyperlinkv0.8.0-beta.28

Schema

Schema.ConstraintDecoderinterfaceeffect/Schema.ts:732
ConstraintDecoder<T, RD>

Lightweight structural constraint for APIs that need decoder type views but do not need the full schema protocol.

When to use

Use when you need to preserve a schema's decoded type and decoding services, but the API does not constrain the encoded type, encoding services, or call schema methods such as annotate, check, rebuild, make, or makeEffect.

Source effect/Schema.ts:7321 lines
export interface ConstraintDecoder<out T, out RD = never> extends ConstraintCodec<T, unknown, RD, unknown> {}
Referenced by 20 symbols