refactor: Remove unused lint directives (no-changelog) (#9842)

This commit is contained in:
Iván Ovejero
2024-06-24 12:13:18 +02:00
committed by GitHub
parent 16d3083af7
commit 44ea4c73eb
92 changed files with 85 additions and 138 deletions

View File

@@ -24,7 +24,6 @@ import { type ServiceClass, ShutdownService } from '@/shutdown/Shutdown.service'
export const OnShutdown =
(priority = 100): MethodDecorator =>
(prototype, propertyKey, descriptor) => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const serviceClass = prototype.constructor as ServiceClass;
const methodName = String(propertyKey);
// TODO: assert that serviceClass is decorated with @Service