UNPKG

@elgervb/mock-data

Version:

Mock data made easy, while maintaining type safety

5 lines (4 loc) 113 B
/** * Returns a mock of a certain type */ export declare function transform<T, R = T>(partial: Partial<T>): R;