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.

7 lines (6 loc) 226 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isDependencyKey = isDependencyKey; function isDependencyKey(target) { return typeof target === 'symbol' || typeof target === 'string'; }