Unexpected behavior of `keyof` with primitive types in TypeScript
Why does
keyof on non records behave this way? Does it make sense? I kind of expect for it to error out.