RecordValue: TConstraints extends { requiredKeys: (infer TKeys)[] }
    ? Partial<T> & Pick<T, TKeys & keyof T>
    : T

Infer the type of the Arbitrary produced by record given the type of the source arbitrary and constraints to be applied

Type Parameters

  • T
  • TConstraints = {}

Since 2.2.0