Showing 2 of 139 total issues
Function conditional
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function conditional(test: any, decorator: Function): any {
'use strict';
return function (target: Object, key: string|symbol, value: any): any {
if (utils.isClassDecorator(decorator, arguments)) {
let clazz: Function = target as Function;
Avoid too many return
statements within this function. Open
Open
return;