@tsed/json-mapper
Version:
Json mapper module for Ts.ED Framework
7 lines (6 loc) • 334 B
TypeScript
import { JsonHookContext, JsonSchema } from "@tsed/schema";
/**
* Execute the `onSerialize` hooks registered on a schema before emitting a value.
* Used internally by the serializer when a property exposes lifecycle hooks.
*/
export declare function alterOnSerialize(schema: JsonSchema, value: any, options: JsonHookContext): any;