ts-ioc-container
Version:
Typescript IoC container
34 lines (33 loc) • 642 B
JavaScript
import { MethodNotImplementedError } from '../errors/MethodNotImplementedError';
export class AutoMockedContainer {
isDisposed = false;
createScope() {
throw new MethodNotImplementedError();
}
dispose() { }
register() {
return this;
}
getParent() {
return undefined;
}
getScopes() {
return [];
}
getInstances() {
return [];
}
hasTag(tag) {
return false;
}
removeScope() { }
useModule() {
return this;
}
getRegistrations() {
return [];
}
addRegistration(registration) {
return this;
}
}