Narrow a body validated with requireExactlyOneTarget to its target.
requireExactlyOneTarget
A parsed body carrying exactly one of path or source.
path
source
The target, discriminated by kind.
kind
When neither is set (the refinement makes this unreachable).
Narrow a body validated with
requireExactlyOneTargetto its target.