Skip to content

PropertySignatureDeclaration

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

Since

3.10.0

Extends

  • OptionalType

Constructors

new PropertySignatureDeclaration()

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

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

Parameters

type

AST

isOptional

boolean

isReadonly

boolean

annotations

Annotations

defaultValue

undefined | () => unknown

Returns

PropertySignatureDeclaration

Overrides

AST.OptionalType.constructor

Properties

_tag

readonly _tag: "PropertySignatureDeclaration" = "PropertySignatureDeclaration"

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

Since

3.10.0


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:885


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:884


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/Schema.d.ts:894

Returns

string

Since

3.10.0

Overrides

AST.OptionalType.toString