Skip to main content

Variable: DateTypeSchema

const DateTypeSchema: PicklistSchema<["date", "string", "temporal"], undefined>;

Defined in: packages/ir/src/schemas.ts:70

How a generator represents the date / datetime scalars (and a datetime with format: 'time') in the code it emits: a JS Date, an ISO 8601 string, or a TC39 Temporal object. Shared option vocabulary of the generators that emit date types; the IR itself stays representation-agnostic.