( defaultValue: Effect.Effect<S["Encoded"], SchemaError, R>, options?: DecodingDefaultOptions )
| 5709 | readonly decode: SchemaGetter.Getter<From["Encoded"], To["Type"], RD> |
| 5710 | readonly encode: SchemaGetter.Getter<To["Type"], From["Encoded"], RE> |
| 5711 | } |
| 5712 | ) { |
| 5713 | return (from: From): decodeTo<From, To, RD, RE> => { |
| 5714 | return transformation ? |
| 5715 | decodeTo<From, To, RD, RE>(from, transformation)(to) : |
| 5716 | decodeTo<From>(from)(to) |
| 5717 | } |
| 5718 | } |
| 5719 | |
| 5720 | /** |
| 5721 | * Applies a transformation to a schema's encoded type, creating a new schema where encoding/decoding |
| 5722 | * operate on `S["Encoded"]` rather than `S["Type"]`. |
| 5723 | * |
| 5724 | * **Details** |
| 5725 | * |
no test coverage detected
searching dependent graphs…