Add type for `in-hash-pairs`

Related to PR 13937