Skip to main content
Module

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

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

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

Returns

(target: constructor<T>) => void

The class decorator