UNPKG

@inversifyjs/core

Version:

InversifyJs core package

11 lines 505 B
import { ServiceIdentifier } from '@inversifyjs/common'; import { BindingConstraints } from './BindingConstraints'; import { BindingType } from './BindingType'; export interface BaseBinding<TType extends BindingType, TActivated> { readonly id: number; readonly moduleId: number | undefined; readonly serviceIdentifier: ServiceIdentifier<TActivated>; readonly type: TType; readonly isSatisfiedBy: (constraints: BindingConstraints) => boolean; } //# sourceMappingURL=BaseBinding.d.ts.map