import { FactoryInterface } from '../ServiceManager/FactoryInterface' ; import { ServiceManager } from '../ServiceManager' ; import { ResponseService } from './ResponseService' ; import { Config , ResponseConfigInterface } from '../Config' ; export const ResponseServiceFactory = ( sm ) => { return new ResponseService ( sm . get ( Config ) . of < ResponseConfigInterface > ( 'response' ) ) ; } ;