import { IServiceManager } from '../ioc/types' ; import { BulidRunTaskProvider } from '../tasks/taskProvider' ; import { TaskCommands } from './command' ; import { ITaskCommands , ITaskProvider } from './types' ; export function registerTypes ( serviceManager ) { serviceManager . addSingleton < ITaskProvider > ( ITaskProvider , BulidRunTaskProvider ) ; serviceManager . addSingleton < ITaskCommands > ( ITaskCommands , TaskCommands ) ; }