Skip to main content
Module

x/alosaur/mod.ts>AutoInjectable

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function AutoInjectable
import { AutoInjectable } from "https://deno.land/x/alosaur@v0.38.0/mod.ts";

Class decorator factory that replaces the decorated class' constructor with a parameter less constructor that has dependencies auto-resolved

Note: Resolution is performed using the global container

Returns

(target: constructor<any>) => any

The class decorator