UNPKG

626 BTypeScriptView Raw
1import type { Arbitrary } from '../check/arbitrary/definition/Arbitrary.js';
2/**
3 * For single characters - all values in 0x0000-0xffff can be generated
4 *
5 * WARNING:
6 *
7 * Some generated characters might appear invalid regarding UCS-2 and UTF-16 encoding.
8 * Indeed values within 0xd800 and 0xdfff constitute surrogate pair characters and are illegal without their paired character.
9 *
10 * @deprecated Please use ${@link string} with `fc.string({ unit, minLength: 1, maxLength: 1 })`, utilizing one of its unit variants instead
11 * @remarks Since 0.0.11
12 * @public
13 */
14export declare function char16bits(): Arbitrary<string>;