diff --git a/src/decorators/Inject.ts b/src/decorators/Inject.ts index 8ef6566..7e56183 100644 --- a/src/decorators/Inject.ts +++ b/src/decorators/Inject.ts @@ -48,9 +48,7 @@ export function Inject( ) { return function ( constructor: undefined, - context: ClassFieldDecoratorContext & { - name: PropertyType; - }, + context: ClassFieldDecoratorContext, ): void { const _identifier = identifier ?? context.name;