I found that the accepted answer is correct but can be incomplete in some cases.
Placing the cursor into a field and tabbing out of it can trigger a Yup “type error”.
A default Yup type error is a verbose and non-user-friendly thing 😉
I would extend the answer from AndreasT to read:
email: Yup
.string()
.email('this will be displayed when email is wrong')
.required('this will be displayed when empty')
.typeError('A number is required')
Here is the article that turned me on to this answer.