Skip to main content
Module

x/alosaur/src/injection/decorators/registry.ts>default

Alosaur - Deno web framework with many decorators
Go to Latest
function default
import { default } from "https://deno.land/x/alosaur@v0.35.2/src/injection/decorators/registry.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