UNPKG

ts-mock-imports

Version:

Intuitive mocking for Typescript class imports

13 lines (12 loc) 416 B
import { IModule } from '../types'; import { Manager } from './manager'; export declare class OtherManager<T> extends Manager { protected module: IModule; protected importName: string; protected original: T; private replaceWith; constructor(module: IModule, importName: string, replaceWith?: Partial<T>); set(replaceWith: Partial<T>): void; getValue(): Partial<T>; private replace; }