Skip to content

StoreMerge

@tsed/core

Usage

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

See /packages/core/src/decorators/storeMerge.ts.

Overview

ts
function StoreMerge(key: any, value: any): Function;

Description

Creates a decorator that merges a key-value pair into the target's Store metadata.

Uses {@link Store.merge} internally to deep-merge the provided value with existing metadata.

Released under the MIT License.