[Typescript] satisfies - value‐level check:
You’re seeing that
const scores = {} satisfies Record<string,number>
does check at compile-time “hey, {}
can be a Record<string,number>
”, but it doesn’t become that type—scores
is still inferred as {}
. So when you do