inversify/inversify-express-utils

View on GitHub
src/decorators.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function params has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function params(
  type: PARAMETER_TYPE,
  parameterName?: string | symbol
) {
  return (
Severity: Minor
Found in src/decorators.ts - About 1 hr to fix

    Function httpMethod has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export function httpMethod(
      method: keyof typeof HTTP_VERBS_ENUM,
      path: string,
      ...middleware: Middleware[]
    ): HandlerDecorator {
    Severity: Minor
    Found in src/decorators.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status