import { RouterService } from './RouterService' ; import { Config , RouterConfigInterface } from '../Config' ; import { ServiceManager } from '../ServiceManager' ; import { FactoryInterface } from '../ServiceManager' ; export const RouterServiceFactory = ( sm ) => { return new RouterService ( sm . get ( Config ) . of < RouterConfigInterface > ( 'router' ) ) ; } ;