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
Go to Latest
function default
import { default } from "https://deno.land/x/alosaur@v0.1.1/src/injection/decorators/auto-injectable.ts";

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

Note: Resolution is performed using the global container

Returns

(target: constructor<any>) => any

The class decorator