import { IServiceManager } from '../../ioc/types' ; import { BufferDecoder } from './decoder' ; import { ModuleInstaller } from './moduleInstaller' ; import { ProcessServiceFactory } from './processFactory' ; import { PythonExecutionFactory } from './pythonExecutionFactory' ; import { IBufferDecoder , IModuleInstaller , IProcessServiceFactory , IPythonExecutionFactory } from './types' ; export function registerTypes ( serviceManager ) { serviceManager . addSingleton < IBufferDecoder > ( IBufferDecoder , BufferDecoder ) ; serviceManager . addSingleton < IProcessServiceFactory > ( IProcessServiceFactory , ProcessServiceFactory ) ; serviceManager . addSingleton < IPythonExecutionFactory > ( IPythonExecutionFactory , PythonExecutionFactory ) ; serviceManager . addSingleton < IModuleInstaller > ( IModuleInstaller , ModuleInstaller ) ; }