Utility TypeScript @ 2.0.0-beta
GitHub
by Maddi Mathon
Preparing search index...
Types
Objects
KeysRequired
Type Alias KeysRequired<T_Object>
KeysRequired
:
{
[
_Key
in
keyof
T_Object
]
-?:
{}
extends
Pick
<
T_Object
,
_Key
>
?
never
:
_Key
}
[
keyof
T_Object
]
Returns the keys that are required by the given object type.
Type Parameters
T_Object
Type with keys.
Since
2.0.0-alpha
Settings
Member Visibility
Alpha
Beta
External
Inherited
Private
Protected
Theme
OS
Light
Dark
GitHub
by Maddi Mathon
Utility TypeScript @ 2.0.0-beta
Loading...
Returns the keys that are required by the given object type.