From 857f1747733263fd8edfa01c4bd87b533e5c56ef Mon Sep 17 00:00:00 2001 From: Shinwoo PARK Date: Sun, 10 Dec 2023 17:53:10 +0900 Subject: [PATCH] fix: remove return type in LoggedRoute --- src/logged.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logged.ts b/src/logged.ts index 3e16f28..83c737c 100644 --- a/src/logged.ts +++ b/src/logged.ts @@ -304,7 +304,7 @@ export function LoggedRoute, R>(route?: string) { _target: any, key: string, descriptor: TypedPropertyDescriptor<(...args: F) => Promise> - ): [string, RequestMethod] => { + ) => { loggerInit(_target); const logger = _target.logger;