UNPKG

@dipscope/type-manager

Version:

Transform JSON strings or plain objects into JS class instances.

10 lines 475 B
import { MethodName } from './method-name'; import { SerializerHandler } from './serializer-handler'; /** * Serializer callback function which is called by serializer during serialization and deserialization. * Can be an instance method name or a handler for which instance is provided. * * @type {SerializerCallback<TObject>} */ export declare type SerializerCallback<TObject> = MethodName | SerializerHandler<TObject>; //# sourceMappingURL=serializer-callback.d.ts.map