Package: effect
Module: Schema
Attaches a custom formatter used by toFormatter.
Details
Use this when the formatter derived from the schema structure is not suitable.
The annotation is applied through this helper because adding it directly to
Annotations.Bottom would make schemas invariant.
Signature
declare const overrideToFormatter: <S extends Top>(toFormatter: () => Formatter<S["Type"]>) => (self: S) => S["Rebuild"]
Since v4.0.0