UNPKG

458 BTypeScriptView Raw
1import { Arbitrary } from '../check/arbitrary/definition/Arbitrary';
2/**
3 * For dictionaries with keys produced by `keyArb` and values from `valueArb`
4 *
5 * @param keyArb - Arbitrary used to generate the keys of the object
6 * @param valueArb - Arbitrary used to generate the values of the object
7 *
8 * @remarks Since 1.0.0
9 * @public
10 */
11export declare function dictionary<T>(keyArb: Arbitrary<string>, valueArb: Arbitrary<T>): Arbitrary<Record<string, T>>;