@baizey/dependency-injection
Version:
A simple typescript dependency injection
9 lines (8 loc) • 343 B
TypeScript
import { Key } from '../ServiceCollection';
import { DependencyError } from './DependencyError';
import { DependencyErrorType } from './types';
export declare class DuplicateDependencyError extends Error implements DependencyError {
readonly type: DependencyErrorType;
readonly lifetime: string;
constructor(lifetime: Key<any>);
}