Example Code:
type PropsType = {top: number} | {bottom: number}
// A funtion that make something run at one direction by distance.
function run(props: PropsType) {
...
}
Expected:
run({top: 100}) or run({bottom: 100})
not run({top: 100, bottom: 100}) (which is the current)
not trigger suggtion have both props: 
Question:
So, how to limit the type with different situation, I don't want the props accept top and bottom at same time.