src/decorators/decorator.ts
Function createRegister
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createRegister<R>(builder: IContainerBuilder, isSelf = false) {
return (api: IDecoratorRegistrationApi<R>): ClassDecorator => (target) => {
if (!isPrototype(target)) {
throw new DecoratorError(