It seems like you used Partial<> incorrectly.
Partial<>
Here is you can achieve desired behaviour:
const Bar: Partial<Record<Foo, string>> = { A: "hello", B: "hello1", }
Partial docs