UNPKG

@scalar/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

7 lines (6 loc) 243 B
import { CreateType } from '../create/type.mjs'; import { Kind } from '../symbols/index.mjs'; /** `[Json]` Creates an Integer type */ export function Integer(options) { return CreateType({ [Kind]: 'Integer', type: 'integer' }, options); }