docs(router): Fix typo on segments (#45411)

PR Close #45411
This commit is contained in:
Mike
2022-03-22 10:53:05 -04:00
committed by Dylan Hunn
parent fe0e42a996
commit 85782e607d
2 changed files with 2 additions and 2 deletions
@@ -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.
+1 -1
View File
@@ -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';
/**