Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/momentum/core/decorators/create-parameter-decorator.ts>createParameterDecorator

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
function createParameterDecorator
import { createParameterDecorator } from "https://deno.land/x/momentum@v0.8.2/core/decorators/create-parameter-decorator.ts";

Creates a parameter decorator

Parameters

optional
valueProvider: ValueProvider

Optionally set a @see ValueProvider to extract a value from the context.

optional
name: string

Returns

ParameterDecorator