UNPKG

@scalar/typebox

Version:

Json Schema Type Builder with Static Type Resolution for TypeScript

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