effect-io-ai

Package: effect
Module: Schema

Schema.StructWithRest.Type

Computes the decoded type for StructWithRest by intersecting the base object schema’s decoded Type with the decoded types of all rest record schemas.

Signature

type Type<S, Records> = Intersect<S, Records, "Type">

Source

Since v3.10.0