removing deprecations

This commit is contained in:
Boki 2025-06-24 15:32:56 -04:00
parent fa67d666dc
commit f6038d385f
21 changed files with 91 additions and 158 deletions

View file

@ -3,7 +3,7 @@
* Discovers and registers handlers with the DI container
*/
import { asClass, asFunction, type AwilixContainer } from 'awilix';
import { asFunction, type AwilixContainer } from 'awilix';
import { glob } from 'glob';
import type {
HandlerConfiguration,
@ -82,7 +82,7 @@ export class HandlerScanner {
* Check if an exported value is a handler
*/
private isHandler(exported: any): boolean {
if (typeof exported !== 'function') return false;
if (typeof exported !== 'function') {return false;}
// Check for handler metadata added by decorators
const hasHandlerName = !!(exported as any).__handlerName;