Skip to main content
Module

x/leaves/mod.ts>Inject

A Web framework For Deno with Decorator and middleware
Latest
function Inject
import { Inject } from "https://deno.land/x/leaves@v0.1.5/mod.ts";

Parameter decorator factory that allows for interface information to be stored in the constructor's metadata

Returns

(
target: any,
propertyKey: string | symbol,
parameterIndex: number,
) => any

The parameter decorator