dojo / routing

:rocket: Dojo 2 - routing library.

Home Page:http://dojo.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve main, public modules

novemberborn opened this issue · comments

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 from main.ts
  • Rename _createRoute to createRoute
  • Rename _createRouter to createRouter
  • Update README