ParsedProp: { [P in K]?: V }

Partial record with exactly one optional key — the return type of parsedProp.

Type Parameters

  • K extends string
  • V