Module

x/alosaur/mod.ts>Injectable

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function Injectable
import { Injectable } from "https://dotland.deno.dev/x/alosaur@v0.34.0/mod.ts";

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

Returns

(target: constructor<T>) => void

The class decorator

import Injectable
import { Injectable } from "https://dotland.deno.dev/x/alosaur@v0.34.0/mod.ts";