diff --git a/CHANGELOG.md b/CHANGELOG.md index fdd7983ff..cfa3c9f93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Fixed +- Added missing `LazyServiceIdentifer`. ## [6.2.0] diff --git a/src/index.ts b/src/index.ts index dd69ae8f3..227df78a0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,18 @@ +/* eslint-disable @typescript-eslint/naming-convention */ import 'reflect-metadata'; +import { LazyServiceIdentifier } from '@inversifyjs/common'; + import * as keys from './constants/metadata_keys'; export { LazyServiceIdentifier } from '@inversifyjs/common'; + +/** + * @deprecated Use LazyServiceIdentifier instead + */ +export const LazyServiceIdentifer: typeof LazyServiceIdentifier = + LazyServiceIdentifier; + // eslint-disable-next-line @typescript-eslint/typedef export const METADATA_KEY = keys; export { Container } from './container/container';