Module

x/alosaur/mod.ts>Inject

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function Inject
import { Inject } from "https://dotland.deno.dev/x/alosaur@v0.34.0/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

import Inject
import { Inject } from "https://dotland.deno.dev/x/alosaur@v0.34.0/mod.ts";