Skip to main content
Module

x/danet/src/deps.ts>Reflect.decorate

The most mature backend framework for Deno. Create awesome HTTP and WebSocket server as well as KVQueue workers !
Latest
function Reflect.decorate
import { Reflect } from "https://deno.land/x/danet@2.4.1/src/deps.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