Skip to content

useMethodDecorator

@tsed/core

Usage

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

See /packages/core/src/utils/useMethodDecorators.ts.

Overview

ts
function useMethodDecorator(decorator: AnyDecorator): (target: any, propertyKey: string | symbol) => any;

Description

Wraps a decorator to ensure it receives the proper method descriptor.

Released under the MIT License.