diff --git a/packages/router/src/directives/router_link.ts b/packages/router/src/directives/router_link.ts index 4b0d9bd48a4..eb126af0b29 100644 --- a/packages/router/src/directives/router_link.ts +++ b/packages/router/src/directives/router_link.ts @@ -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. diff --git a/packages/router/src/url_tree.ts b/packages/router/src/url_tree.ts index 5ab7032d66b..ac149c45349 100644 --- a/packages/router/src/url_tree.ts +++ b/packages/router/src/url_tree.ts @@ -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'; /**