Skip to content

JsonHookContext

@tsed/schema

Usage

typescript
import { JsonHookContext } from "@tsed/schema";

See /packages/specs/schema/src/types/interfaces/JsonHookContext.ts.

Overview

ts
interface JsonHookContext extends TsED.JsonHookContext {
    self: any;
    groups?: string[] | false;
    [key: string]: any;
}

self

ts
self: any;

The current instance used by serializer function

groups

ts
groups?: string[] | false;

[key: string]

ts
[key: string]: any;

Released under the MIT License.