45 lines
937 B
TypeScript
45 lines
937 B
TypeScript
/**
|
|
* @module
|
|
* @description
|
|
* The `di` module provides dependency injection container services.
|
|
*/
|
|
|
|
export {
|
|
InjectMetadata,
|
|
OptionalMetadata,
|
|
InjectableMetadata,
|
|
SelfMetadata,
|
|
HostMetadata,
|
|
SkipSelfMetadata,
|
|
DependencyMetadata
|
|
} from './di/metadata';
|
|
|
|
// we have to reexport * because Dart and TS export two different sets of types
|
|
export * from './di/decorators';
|
|
|
|
export {forwardRef, resolveForwardRef, ForwardRefFn} from './di/forward_ref';
|
|
export {Injector} from './di/injector';
|
|
export {
|
|
Binding,
|
|
ProviderBuilder,
|
|
ResolvedBinding,
|
|
ResolvedFactory,
|
|
Dependency,
|
|
bind,
|
|
|
|
Provider,
|
|
ResolvedProvider,
|
|
provide
|
|
} from './di/provider';
|
|
export {Key} from './di/key';
|
|
export {
|
|
NoProviderError,
|
|
AbstractProviderError,
|
|
CyclicDependencyError,
|
|
InstantiationError,
|
|
InvalidProviderError,
|
|
NoAnnotationError,
|
|
OutOfBoundsError
|
|
} from './di/exceptions';
|
|
export {OpaqueToken} from './di/opaque_token';
|