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

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

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
import * as alosaur from "https://deno.land/x/alosaur@v0.5.1/src/injection/decorators/index.ts";

Functions

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

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

Class decorator factory that allows the class' dependencies to be injected at runtime.

Class decorator factory that allows constructor dependencies to be registered at runtime.

Class decorator factory that registers the class as a singleton within the global container.