Interface BaseSerCtx<SerCex>

interface BaseSerCtx<SerCex> {
    locals: Record<string, any>;
    mutatingInPlace: boolean;
    path: (string | number)[];
    rootObj: any;
    serializers: Serializers<SerCex>;
    target: number;
    done<T>(obj?): readonly [0, undefined | T];
    mapAfter(map): readonly [3];
    nevermind(): readonly [3];
    recurse<T>(obj?): readonly [1, undefined | T];
    replace<T>(obj): readonly [2, T];
}

Type Parameters

  • SerCex

Hierarchy (view full)

Properties

locals: Record<string, any>
mutatingInPlace: boolean
path: (string | number)[]
rootObj: any
serializers: Serializers<SerCex>
target: number

Methods