UNPKG

@baizey/dependency-injection

Version:
10 lines (9 loc) 399 B
import { Key } from '../ServiceCollection'; import { DependencyError } from './DependencyError'; import { DependencyErrorType } from './types'; export declare class CircularDependencyError extends Error implements DependencyError { readonly type: DependencyErrorType; readonly lifetime: string; readonly provided: Key<any>[]; constructor(lifetime: Key<any>, provided: Key<any>[]); }