React Native Spotlight Tour - API Reference
React Native Spotlight Tour - API Reference / OmitR
Type Alias: OmitR<T, K>
OmitR<
T
,K
> =Pick
<T
,Exclude
<keyofT
,K
>>
Defined in: package/src/helpers/common.ts:8
Like the built-in Omit, but constraints the target to extend from a Record type. I.e., it’s meant to be used with Records to omit specified keys.
Type Parameters
T
T
extends Record
<keyof unknown
, unknown
>
K
K
extends keyof T