miz
Version:
Generate mock data, just like a person.
18 lines (17 loc) • 505 B
TypeScript
/**
* Created by hustcc.
* Contract: i@hust.cc
*/
import { apply, arrayOf, bool, constant, number, oneOf, shape, string } from './mockers';
export { randomBool, randomChar, randomFloat, randomString } from './mockers/random';
export { Mocker } from './mocker';
export declare const M: {
apply: typeof apply;
arrayOf: typeof arrayOf;
bool: typeof bool;
constant: typeof constant;
number: typeof number;
oneOf: typeof oneOf;
shape: typeof shape;
string: typeof string;
};