import { CreateController } from '../share/type' ; import { ServerController , ServerControllerConstructor } from './type' ; const createController = ( c , location , context ) => { return new c ( location , context ) ; } ; export default createController ;