Skip to main content
Module

x/oak_nest/mod.ts>Reflect.decorate

Refer to nestjs to realize some common functions for Deno
Go to Latest
function Reflect.decorate
import { Reflect } from "https://deno.land/x/oak_nest@v1.15.2/mod.ts";
const { decorate } = Reflect;

Parameters

decorators: ClassDecorator[]
target: Function

Returns

Function

Parameters

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

Returns

PropertyDescriptor | undefined

Parameters

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

Returns

PropertyDescriptor