Package: effect
Module: Schema
Annotations for struct property schemas. Extends Documentation
with an optional messageMissingKey to override the error message when
the property key is absent during decoding.
Signature
export interface Key<T> extends Documentation<T> {
/**
* The message to use when a key is missing.
*/
readonly messageMissingKey?: string | undefined
}
Since v4.0.0