You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having a generic return type like `Function` is like using `any` it is removing type safety and causes Type Safe environments like NestJS to through errors. It is much better to specify the the return type of this higher order function.
Generally I would let TypeScript infer it without the type def, however since you had it explicitly stated before I simply changed it to be more specific.
0 commit comments