UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

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