UNPKG

dependency-injection-cat

Version:

DI Cat is a truly clean DI-container, which allows you not to pollute your business logic with decorators from DI/IOC libraries!

12 lines (11 loc) 416 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getParameterType = void 0; var TypeQualifier_1 = require("../ts-helpers/type-qualifier/TypeQualifier"); var getParameterType = function (parameter) { if (parameter.type === undefined) { return null; } return TypeQualifier_1.TypeQualifier.qualify(parameter.type); }; exports.getParameterType = getParameterType;