import * as express from 'express' ; const expressRouter = express . Router ( ) ; import defaultRoutes from './routes/defaultRoutes' ; expressRouter . use ( '/' , defaultRoutes ) ; export default expressRouter ;