Skip to content

decoratorArgs

@tsed/core

Usage

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

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

Overview

ts
function decoratorArgs(target: any, propertyKey: string): DecoratorParameters;

Description

Constructs decorator parameters (target, propertyKey, descriptor) for a given class member.

Retrieves the property descriptor and returns a tuple compatible with decorator signatures.

Released under the MIT License.