UNPKG

@lillallol/dic

Version:

My own dependency injection container.

7 lines (6 loc) 273 B
import type { registration, registry } from "../types"; /** * @description * Returns the registration of the provided abstraction but throws if it does not exist. */ export declare function getRegistrationStrictOf(registry: registry, abstraction: symbol): registration;