79628113

Date: 2025-05-19 05:32:16
Score: 0.5
Natty:
Report link

It seems like you used Partial<> incorrectly.

Here is you can achieve desired behaviour:

const Bar: Partial<Record<Foo, string>> = {
  A: "hello",
  B: "hello1",
}

Partial docs

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Iaroslav Sobolev