@baizey/dependency-injection
Version:
A simple typescript dependency injection
11 lines (10 loc) • 460 B
TypeScript
import { DependencyError } from './DependencyError';
import { DependencyErrorType } from './types';
export type Access = 'get' | 'set' | 'construct' | 'apply' | 'function';
export declare class ShouldBeMockedDependencyError extends Error implements DependencyError {
readonly type: DependencyErrorType;
readonly lifetime: string;
readonly property: string;
private access;
constructor(lifetime: string, property: string, access: Access);
}