Skip to main content
Module

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

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

Class decorator factory that allows constructor dependencies to be registered at runtime.

Parameters

optional
registrations: ({ token: InjectionToken; options?: RegistrationOptions; } & Provider<any>)[] = [UNSUPPORTED]

Returns

(target: any) => any

The class decorator