UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

7 lines (6 loc) 236 B
import { Kind } from '../symbols/index.mjs'; import { CreateType } from '../create/type.mjs'; /** `[JavaScript]` Creates a Date type */ export function Date(options) { return CreateType({ [Kind]: 'Date', type: 'Date' }, options); }