Skip to content

Commit

Permalink
docs(router): Fix typo on segments (#45411)
Browse files Browse the repository at this point in the history
PR Close #45411
  • Loading branch information
mkanyar authored and dylhunn committed Mar 24, 2022
1 parent 1734d1e commit cc90fd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/router/src/directives/router_link.ts
Expand Up @@ -35,7 +35,7 @@ import {UrlTree} from '../url_tree';
* For example, `['/team', teamId, 'user', userName, {details: true}]`
* generates a link to `/team/11/user/bob;details=true`.
*
* Multiple static segments can be merged into one term and combined with dynamic segements.
* Multiple static segments can be merged into one term and combined with dynamic segments.
* For example, `['/team/11/user', userName, {details: true}]`
*
* The input that you provide to the link is treated as a delta to the current URL.
Expand Down
2 changes: 1 addition & 1 deletion packages/router/src/url_tree.ts
Expand Up @@ -50,7 +50,7 @@ export interface IsActiveMatchOptions {
* - `'exact'`: all segments in each `UrlTree` must match.
* - `'subset'`: a `UrlTree` will be determined to be active if it
* is a subtree of the active route. That is, the active route may contain extra
* segments, but must at least have all the segements of the `UrlTree` in question.
* segments, but must at least have all the segments of the `UrlTree` in question.
*/
paths: 'exact'|'subset';
/**
Expand Down

0 comments on commit cc90fd5

Please sign in to comment.