Help Simplifying this Type
Can anyone help me simplify this so that I only need to specify the 2nd parameter. Key and Key2 are always the same, I just needed to add additional constraints to Key and this was the only way I could figure out how to do it.
FieldValues, ArrayPath, PathValue, and Control are all from react-hook-form if it matters.
0 Replies