effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.PropertySignatureTransformation

Represents a PropertySignature -> PropertySignature transformation

The semantic of decode is:

The semantic of encode is:

Signature

declare class PropertySignatureTransformation { constructor(
    readonly from: PropertyKey,
    readonly to: PropertyKey,
    readonly decode: (o: Option.Option<any>) => Option.Option<any>,
    readonly encode: (o: Option.Option<any>) => Option.Option<any>
  ) }

Source

Since v3.10.0