UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

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