Class: RouteNode<E>
routing.RouteNode
Type parameters
Name | Type |
---|---|
E | unknown |
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new RouteNode<E
>(name
): RouteNode
<E
>
Type parameters
Name | Type |
---|---|
E | unknown |
Parameters
Name | Type |
---|---|
name | string |
Returns
RouteNode
<E
>
Defined in
Properties
name
• name: string
Defined in
routes
• routes: Record
<string
, Route
<any
, any
, E
>>
Defined in
paramNames
• paramNames: string
[]
Defined in
Methods
touch
▸ touch(node
): RouteNode
<E
>
Parameters
Name | Type |
---|---|
node | string |
Returns
RouteNode
<E
>
Defined in
match
▸ match(node
): undefined
| RouteNode
<E
>
Parameters
Name | Type |
---|---|
node | string |
Returns
undefined
| RouteNode
<E
>