Skip to main content

@dx/reflect@0.2.6
Built and signed on GitHub Actions

forked from jiawei397/deno-reflect-metadata

This package works with Deno
JSR Score
70%
Published
a month ago (0.2.6)
function Reflect.decorate

Parameters

decorators: ClassDecorator[]
target: Function

Return Type

Parameters

decorators: (PropertyDecorator | MethodDecorator)[]
target: any
propertyKey: string | symbol
optional
attributes: PropertyDescriptor | null

Return Type

PropertyDescriptor | undefined

Parameters

decorators: (PropertyDecorator | MethodDecorator)[]
target: any
propertyKey: string | symbol
attributes: PropertyDescriptor

Return Type

PropertyDescriptor

Add Package

deno add @dx/reflect

Import symbol

import { Reflect } from "@dx/reflect";
const { decorate } = Reflect;