UNPKG

fast-check

Version:

Property based testing framework for JavaScript (like QuickCheck)

16 lines (15 loc) 593 B
import type { Arbitrary } from '../check/arbitrary/definition/Arbitrary.js'; import type { StringSharedConstraints } from './_shared/StringSharedConstraints.js'; export type { StringSharedConstraints } from './_shared/StringSharedConstraints.js'; /** * For base64 strings * * A base64 string will always have a length multiple of 4 (padded with =) * * @param constraints - Constraints to apply when building instances (since 2.4.0) * * @remarks Since 0.0.1 * @public */ declare function base64String(constraints?: StringSharedConstraints): Arbitrary<string>; export { base64String };