fix: remove return type in LoggedRoute
This commit is contained in:
parent
bf9d0b365e
commit
857f174773
@ -304,7 +304,7 @@ export function LoggedRoute<F extends Array<any>, R>(route?: string) {
|
|||||||
_target: any,
|
_target: any,
|
||||||
key: string,
|
key: string,
|
||||||
descriptor: TypedPropertyDescriptor<(...args: F) => Promise<R>>
|
descriptor: TypedPropertyDescriptor<(...args: F) => Promise<R>>
|
||||||
): [string, RequestMethod] => {
|
) => {
|
||||||
loggerInit(_target);
|
loggerInit(_target);
|
||||||
|
|
||||||
const logger = _target.logger;
|
const logger = _target.logger;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user