Skip to content

Commit

Permalink
feat(router): add comment to configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jwx committed Aug 14, 2019
1 parent 165bfe6 commit 6a34ab3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/router/src/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ const routerConfiguration = {
};
export const RouterConfiguration = {
/**
* Make it possible to specify options to Router activation
* Make it possible to specify options to Router activation.
* Parameter is either a config object that's passed to Router's activate
* or a config function that's called instead of Router's activate.
*/
customize(config?: IRouterOptions | (() => void)) {
if (config === undefined) {
Expand Down

0 comments on commit 6a34ab3

Please sign in to comment.