Skip to content

Types

Runtime representations of types can be accessed off of T, exported from the entry point of structured-outputs.

ts
import { 
T
} from "structured-outputs"

Primitive Types

ts
T
.
boolean
T
.
number
T
.
string

Composite Types

tuple array object literalUnion taggedUnion

Transform Types

Standard Pattern Types

option wrapper date