UNPKG

@baizey/dependency-injection

Version:
10 lines (9 loc) 394 B
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>); }