Package: effect
Module: SchemaAST
Attaches a Transformation to the to AST, making it decode from the
from AST and encode back to it.
Details
This is the low-level primitive behind Schema.transform and
Schema.transformOrFail. It appends a Link to the to node’s
encoding chain.
to.See
LinkEncodingflipSignature
declare const decodeTo: <A extends AST>(from: AST, to: A, transformation: SchemaTransformation.Transformation<any, any, any, any>) => A
Since v4.0.0