UNPKG

typescript-flat-serializer

Version:

A typescript library to serialize/deserialize classes to/from string in a flat format. Supports inheritance, circular reference and more

7 lines (6 loc) 269 B
import { Type } from './helpers'; export type CustomWayOfCloningObjectMap = Map<Type<any>, (obj: any) => any>; export type RFDCOptions = { customWayOfCloningObject?: CustomWayOfCloningObjectMap; }; export declare function rfdc(opts?: RFDCOptions): (o: any) => any;