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

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

Alosaur - Deno web framework with many decorators
Go to Latest
function default
import { default } from "https://deno.land/x/alosaur@v0.19.4/src/injection/decorators/injectable.ts";

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

Returns

(target: constructor<T>) => void

The class decorator