@websolute/faker.ts
Version:
Easy to Use, Powered by Decorators, Faker.js TypeScript Wrapper
8 lines (7 loc) • 405 B
TypeScript
import { ValueHandler } from '../types/value-handler.interface';
import { PropertyDto } from '../types/property-dto.interface';
import { ObjectLiteral } from '../types/fixture-options.type';
export declare class ObjectLiteralValueHandler<P extends ObjectLiteral> implements ValueHandler<P> {
shouldHandle(propertyDto: PropertyDto<P>): boolean;
produceValue<T>(propertyDto: PropertyDto<P>): any;
}