Improve main, public modules
novemberborn opened this issue · comments
Mark Wubben commented
The new approach is for main.ts
to export the public API, so in plain Node you can do require('dojo-routing')
. However for TypeScript we'd still want you to be able to consume dojo-routing/createRoute
.
- Remove interface exports from
main.ts
- Export
history
frommain.ts
- Rename
_createRoute
tocreateRoute
- Rename
_createRouter
tocreateRouter
- Update README