Add (Typed)Hash method "keyof"

Not sure where to spec this, and whether the name is ok