`getPayloadHMR`'s arg type was accepting unnecessary args that did not do anything. This was leading to confusion. This PR trims down the accepted type. Fixes #7832
`getPayloadHMR`'s arg type was accepting unnecessary args that did not do anything. This was leading to confusion. This PR trims down the accepted type. Fixes #7832