UNPKG

@lillallol/dic

Version:

My own dependency injection container.

7 lines (6 loc) 250 B
import { registry } from "../types"; /** * @description * Throws error if the provided abstraction is already registered in the provided registry. */ export declare function throwIfAlreadyRegistered(abstraction: symbol, registry: registry): void;