docs: correct route path description (#29669)

PR Close #29669
This commit is contained in:
Judy Bogart 2019-04-02 11:01:48 -07:00 committed by Igor Minar
parent 609024f93d
commit b6f48dbe19
1 changed files with 2 additions and 1 deletions

View File

@ -363,7 +363,7 @@ export type RunGuardsAndResolvers = 'pathParamsChange' | 'pathParamsOrQueryParam
export interface Route {
/**
* The path to match against, a URL string that uses router matching notation.
* Can include wild-card characters (*). [where is that defined?]
* Can be a wild card (`**`) that matches any URL (see Usage Notes below).
* Default is "/" (the root path).
*/
path?: string;
@ -374,6 +374,7 @@ export interface Route {
* By default, the router checks URL elements from the left to see if the URL
* matches a given path, and stops when there is a match. For example,
* '/team/11/user' matches 'team/:id'.
*
* The path-match strategy 'full' matches against the entire URL.
* It is important to do this when redirecting empty-path routes.
* Otherwise, because an empty path is a prefix of any URL,