AngularTS
Preparing search index...
RoutesOf
Type Alias RoutesOf<TTree, TParamTypes>
RoutesOf
:
TTree
extends
readonly
RouterTreeShape
[]
?
RouteMapFromForest
<
TTree
,
TParamTypes
>
extends
infer
TRouteMap
?
{
[
TKey
in
Extract
<
keyof
TRouteMap
,
string
>
]
:
TRouteMap
[
TKey
]
}
:
never
:
TTree
extends
RouterTreeShape
?
RouteMapFromTree
<
TTree
,
TParamTypes
>
:
never
Derives the public route map for a literal
router(...)
tree.
Type Parameters
TTree
extends
RouterTreeShape
|
readonly
RouterTreeShape
[]
TParamTypes
extends
Record
<
string
,
unknown
>
=
Record
<
never
,
never
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
AngularTS
Loading...
Derives the public route map for a literal
router(...)tree.