UNPKG

@sinclair/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

15 lines (13 loc) 349 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BigInt = void 0; const index_1 = require("../symbols/index"); /** `[JavaScript]` Creates a BigInt type */ function BigInt(options = {}) { return { ...options, [index_1.Kind]: 'BigInt', type: 'bigint', }; } exports.BigInt = BigInt;