Skip to content

Commit 5a62702

Browse files
authored
Add missing LazyServiceIdentifer (#1685)
* fix: add missing LazyServiceIdentifer * docs: update changelog
1 parent c70fc93 commit 5a62702

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
### Changed
1212

1313
### Fixed
14+
- Added missing `LazyServiceIdentifer`.
1415

1516
## [6.2.0]
1617

src/index.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1+
/* eslint-disable @typescript-eslint/naming-convention */
12
import 'reflect-metadata';
23

4+
import { LazyServiceIdentifier } from '@inversifyjs/common';
5+
36
import * as keys from './constants/metadata_keys';
47

58
export { LazyServiceIdentifier } from '@inversifyjs/common';
9+
10+
/**
11+
* @deprecated Use LazyServiceIdentifier instead
12+
*/
13+
export const LazyServiceIdentifer: typeof LazyServiceIdentifier =
14+
LazyServiceIdentifier;
15+
616
// eslint-disable-next-line @typescript-eslint/typedef
717
export const METADATA_KEY = keys;
818
export { Container } from './container/container';

0 commit comments

Comments
 (0)