@johnnyreilly thanks for spotting my fail here :)

This was part of an older PR which I rebased on top of newer changes. Obviously I wasn't careful enough. I think I'll just delete the branch/PR altogether as it doesn't really add much, beyond the JSDoc.