79817176

Date: 2025-11-11 22:14:31
Score: 0.5
Natty:
Report link

You can add const check: Record<keyof A, true> = {x: true, y: true}; to make it:

function areEqual(one: A, another: A): boolean {
    const check: Record<keyof A, true> = {x: true, y: true};
    return one.x === another.x && one.y === another.y;
}  
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: proof-of-correctness