Package: effect
Module: Schema
Resolves the typed annotations from a schema. The term “resolve” (rather than “get”) reflects the lookup strategy: if the schema has checks, the annotations are taken from the last check; otherwise they are taken from the base schema instance.
Signature
declare const resolveAnnotations: <S extends Constraint>(schema: S) => Annotations.Bottom<S["Type"], S["~type.parameters"]> | undefined
Since v4.0.0