Skip to content

PropertySignatureTransformation

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:918

Since

3.10.0

Constructors

new PropertySignatureTransformation()

new PropertySignatureTransformation(from, to, decode, encode): PropertySignatureTransformation

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:927

Parameters

from

FromPropertySignature

to

ToPropertySignature

decode

(o) => Option<any>

encode

(o) => Option<any>

Returns

PropertySignatureTransformation

Properties

_tag

readonly _tag: "PropertySignatureTransformation" = "PropertySignatureTransformation"

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:926

Since

3.10.0


decode()

readonly decode: (o) => Option<any>

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:921

Parameters

o

Option<any>

Returns

Option<any>


encode()

readonly encode: (o) => Option<any>

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:922

Parameters

o

Option<any>

Returns

Option<any>


from

readonly from: FromPropertySignature

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:919


to

readonly to: ToPropertySignature

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:920

Methods

toString()

toString(): string

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:931

Returns

string

Since

3.10.0