Skip to main content
Module

x/alosaur/src/decorator/ActionParam.ts

Alosaur - Deno web framework with many ES Decorators
Very Popular
Latest
File
import { ClassMethodDecoratorContext } from "./decorator.models.ts";
export function ActionParam(index: number, fn: Function): Function { return function (object: Object, context: ClassMethodDecoratorContext) { fn.call(fn, object, context, index); };}