Skip to content

ToPropertySignature

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

Since

3.10.0

Extends

  • OptionalType

Constructors

new ToPropertySignature()

new ToPropertySignature(type, isOptional, isReadonly, annotations, defaultValue): ToPropertySignature

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

Parameters

type

AST

isOptional

boolean

isReadonly

boolean

annotations

Annotations

defaultValue

undefined | () => unknown

Returns

ToPropertySignature

Overrides

AST.OptionalType.constructor

Properties

annotations

readonly annotations: Annotations

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/SchemaAST.d.ts:844

Inherited from

AST.OptionalType.annotations


defaultValue

readonly defaultValue: undefined | () => unknown

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


isOptional

readonly isOptional: boolean

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/SchemaAST.d.ts:860

Inherited from

AST.OptionalType.isOptional


isReadonly

readonly isReadonly: boolean

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


type

readonly type: AST

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/SchemaAST.d.ts:843

Inherited from

AST.OptionalType.type

Methods

toJSON()

toJSON(): object

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/SchemaAST.d.ts:865

Returns

object

Since

3.10.0

Inherited from

AST.OptionalType.toJSON


toString()

toString(): string

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/SchemaAST.d.ts:869

Returns

string

Since

3.10.0

Inherited from

AST.OptionalType.toString