UNPKG

@apiratorjs/di-container

Version:

A lightweight dependency injection container for JavaScript and TypeScript with powerful features: modular organization with DiModule.create, lazy initialization, automatic circular dependency detection, and multiple service lifecycles (singleton with bot

13 lines 400 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tokenToString = tokenToString; function tokenToString(token) { if (typeof token === "string") return token; if (typeof token === "symbol") return token.toString(); if (typeof token === "function") return token.name; return "unknown token"; } //# sourceMappingURL=utils.js.map