Documentation
testing/types
FlatType
Type Alias FlatType<T>
Internal
Flat
Type
<
T
>
:
T
extends
Record
<
PropertyKey
,
unknown
>
?
{
[
K
in
keyof
T
]
:
FlatType
<
T
[
K
]
>
}
:
T
The utility type to flatten record types.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
The utility type to flatten record types.