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