Skip to content

Commit

Permalink
feat(core): update ManagedClassElementMetadata.value
Browse files Browse the repository at this point in the history
update value to allow LazyServiceIdentifier
  • Loading branch information
notaphplover committed Oct 27, 2024
1 parent e594986 commit 62ffcc1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ServiceIdentifier } from '@inversifyjs/common';
import { LazyServiceIdentifier, ServiceIdentifier } from '@inversifyjs/common';

import { BaseClassElementMetadata } from './BaseClassElementMetadata';
import { ClassElementMetadataKind } from './ClassElementMetadataKind';
Expand All @@ -11,7 +11,7 @@ export interface ManagedClassElementMetadata
| ClassElementMetadataKind.singleInjection
| ClassElementMetadataKind.multipleInjection
> {
value: ServiceIdentifier;
value: ServiceIdentifier | LazyServiceIdentifier;
name: MetadataName | undefined;
optional: boolean;
tags: Map<MetadataTag, unknown>;
Expand Down

0 comments on commit 62ffcc1

Please sign in to comment.