UNPKG

@tsed/json-mapper

Version:
6 lines (4 loc) 204 B
import type {Hooks} from "@tsed/hooks"; export function alterBeforeDeserialize(data: any, schema: {$hooks: Hooks}, options: any) { return schema?.$hooks?.alter("beforeDeserialize", data, [options]); }