Skip to main content
Module

x/momentum/di/mod.ts>Injectable

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
function Injectable
import { Injectable } from "https://deno.land/x/momentum@v0.8.2/di/mod.ts";

Decorator used to mark a type as available for dependency injection globally.

Returns

ClassDecorator

Decorator used to mark a type as available for dependency injection with options.

Returns

ClassDecorator

Decorator used to mark a type as available for dependency injection using a identifier token

Parameters

identifier: TypeIdentifier
optional
options: InjectableOptions

Returns

ClassDecorator