UNPKG

ts-ioc-container

Version:

Fast, lightweight TypeScript dependency injection container with a clean API, scoped lifecycles, decorators, tokens, hooks, lazy injection, customizable providers, and no global container objects.

12 lines (11 loc) 339 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ContainerError = void 0; class ContainerError extends Error { name = 'ContainerError'; constructor(message) { super(message); Object.setPrototypeOf(this, ContainerError.prototype); } } exports.ContainerError = ContainerError;