import BrowserHistoryService from "./BrowserHistoryService" ; import RoutingService from "./RoutingService" ; class BrowserHistoryServiceFactory { private readonly service : BrowserHistoryService ; constructor ( baseUrl , window , routingService ) { this . service = new BrowserHistoryService ( baseUrl , window , routingService ) ; } public create ( ) { return this . service ; } } export default BrowserHistoryServiceFactory ;