UNPKG

@tsed/json-mapper

Version:
6 lines (5 loc) 277 B
import { JsonHookContext, JsonSchema } from "@tsed/schema"; /** * Execute the `onDeserialize` hooks registered on a schema before writing the value onto the target. */ export declare function alterOnDeserialize(schema: JsonSchema, value: any, options: JsonHookContext): any;