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.

9 lines (8 loc) 288 B
import { ContainerError } from './ContainerError'; export class UnsupportedTokenTypeError extends ContainerError { name = 'UnsupportedTokenTypeError'; constructor(message) { super(message); Object.setPrototypeOf(this, UnsupportedTokenTypeError.prototype); } }