src/decorators.ts
Function params
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function params(
type: PARAMETER_TYPE,
parameterName?: string | symbol
) {
return (
Function httpMethod
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function httpMethod(
method: keyof typeof HTTP_VERBS_ENUM,
path: string,
...middleware: Middleware[]
): HandlerDecorator {