Skip to content

DeepMergeOptions

@tsed/core

Usage

typescript
import { DeepMergeOptions } from "@tsed/core";

See /packages/core/src/types/utils/objects/deepMerge.ts.

Overview

ts
interface DeepMergeOptions {
    reducers?: Record<string, DeepMergeReducerCB>;
    parentKey?: string;
    cleanUndefinedProps?: boolean;
    alter?: (key: string, value: any) => any;
}

reducers

ts
reducers?: Record<string, DeepMergeReducerCB>;

parentKey

ts
parentKey?: string;

cleanUndefinedProps

ts
cleanUndefinedProps?: boolean;

alter:

ts
alter?: (key: string, value: any) => any;

Released under the MIT License.