Skip to main content
Module

x/alosaur/src/injection/decorators/index.ts>InjectAll

Alosaur - Deno web framework with many decorators
Go to Latest
function InjectAll
import { InjectAll } from "https://deno.land/x/alosaur@v0.35.2/src/injection/decorators/index.ts";

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

Parameters

token: InjectionToken<any>

Returns

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

The parameter decorator