Skip to main content
Module

x/leaves/mod.ts>AutoInjectable

A Web framework For Deno with Decorator and middleware
Latest
function AutoInjectable
import { AutoInjectable } from "https://deno.land/x/leaves@v0.1.5/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