From 45bec44a2d44db391b0b0476fcdb7173dc410f83 Mon Sep 17 00:00:00 2001 From: Max P Date: Wed, 28 Aug 2024 15:06:38 +0200 Subject: [PATCH] fix: Fix typing in injector --- src/decorators/Inject.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;