Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/src/injection/decorators/auto-injectable.ts>default

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function default
import { default } from "https://deno.land/x/alosaur@v0.21.0/src/injection/decorators/auto-injectable.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