Skip to content

Commit

Permalink
docs(router): fixing pathMatch doc to style code correctly (#44796)
Browse files Browse the repository at this point in the history
PR Close #44796
  • Loading branch information
wilmarques authored and AndrewKushnir committed Jan 24, 2022
1 parent abd1bc8 commit f0a8303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/router/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export interface Route {
* matches a given path and stops when there is a config match. Importantly there must still be a
* config match for each segment of the URL. For example, '/team/11/user' matches the prefix
* 'team/:id' if one of the route's children matches the segment 'user'. That is, the URL
* '/team/11/user` matches the config
* '/team/11/user' matches the config
* `{path: 'team/:id', children: [{path: ':user', component: User}]}`
* but does not match when there are no children as in `{path: 'team/:id', component: Team}`.
*
Expand Down

0 comments on commit f0a8303

Please sign in to comment.