fix: Fix typing in injector
This commit is contained in:
@@ -48,9 +48,7 @@ export function Inject<TargetType, DependencyType, PropertyType>(
|
|||||||
) {
|
) {
|
||||||
return function (
|
return function (
|
||||||
constructor: undefined,
|
constructor: undefined,
|
||||||
context: ClassFieldDecoratorContext<TargetType> & {
|
context: ClassFieldDecoratorContext<TargetType>,
|
||||||
name: PropertyType;
|
|
||||||
},
|
|
||||||
): void {
|
): void {
|
||||||
const _identifier = identifier ?? context.name;
|
const _identifier = identifier ?? context.name;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user