Created
July 19, 2017 15:01
-
-
Save gauntface/732acdb3876ee6901deddc923a6aa779 to your computer and use it in GitHub Desktop.
Example of a module exporting everything
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Router from './lib/Router'; | |
import Route from './lib/Route'; | |
import ExpressRoute from './lib/ExpressRoute'; | |
export { | |
Router, | |
Route, | |
ExpressRoute | |
} | |
export default new Router(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment