effect-io-ai

Package: effect
Module: Schema

Schema.WithoutConstructorDefault

Constraint used to ensure a schema field does not already have a constructor default.

Details

Only schemas that satisfy this constraint can be passed to withConstructorDefault.

Signature

export interface WithoutConstructorDefault {
  readonly "~type.constructor.default": "no-default"
}

Source

Since v4.0.0