parent
609024f93d
commit
b6f48dbe19
|
@ -363,7 +363,7 @@ export type RunGuardsAndResolvers = 'pathParamsChange' | 'pathParamsOrQueryParam
|
||||||
export interface Route {
|
export interface Route {
|
||||||
/**
|
/**
|
||||||
* The path to match against, a URL string that uses router matching notation.
|
* 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).
|
* Default is "/" (the root path).
|
||||||
*/
|
*/
|
||||||
path?: string;
|
path?: string;
|
||||||
|
@ -374,6 +374,7 @@ export interface Route {
|
||||||
* By default, the router checks URL elements from the left to see if the URL
|
* 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,
|
* matches a given path, and stops when there is a match. For example,
|
||||||
* '/team/11/user' matches 'team/:id'.
|
* '/team/11/user' matches 'team/:id'.
|
||||||
|
*
|
||||||
* The path-match strategy 'full' matches against the entire URL.
|
* The path-match strategy 'full' matches against the entire URL.
|
||||||
* It is important to do this when redirecting empty-path routes.
|
* It is important to do this when redirecting empty-path routes.
|
||||||
* Otherwise, because an empty path is a prefix of any URL,
|
* Otherwise, because an empty path is a prefix of any URL,
|
||||||
|
|
Loading…
Reference in New Issue