Documentation
Github
Preparing search index...
iso-ucan
capability
<internal>
FlattenPaths
Type Alias FlattenPaths<T>
FlattenPaths
:
T
extends
string
?
T
:
T
extends
object
?
{
[
K
in
keyof
T
]
:
T
[
K
]
extends
string
?
T
[
K
]
:
T
[
K
]
extends
object
?
FlattenPaths
<
T
[
K
]
>
:
never
}
[
keyof
T
]
:
never
Flattens nested path strings into a union of all possible selectors
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Documentation
Loading...
Flattens nested path strings into a union of all possible selectors