UNPKG

@jems/di

Version:

An implementation of IoC pattern based on dependency injection that allows you to granulate and decouple your libraries or applications. Wrote using SOLID principles and a variety OOP patterns implementations.

13 lines (12 loc) 400 B
import { ToSyntax } from './toSyntax'; /** * Represents a fluent syntax extension to bind aliases to the kernel. */ export interface BindSyntax { /** * Creates a bind for the alias and allow fluently configure it. * @param alias Represents the alias to bind. * @return A syntax extension to associate the target or setup a container. */ bind(alias: string): ToSyntax; }