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

x/alosaur/src/injection/index.ts>Injectable

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function Injectable
import { Injectable } from "https://deno.land/x/alosaur@v0.30.0/src/injection/index.ts";

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

Returns

(target: constructor<T>) => void

The class decorator