The title "Mathematics in type theory" is like mathematics in real analysis or set theory.
[1]. https://en.wikipedia.org/wiki/Metamathematics
[2]. https://en.wikipedia.org/wiki/Foundations_of_mathematics
But how they are not mathematics? They are part of mathematical logic and mathematical logic or logic in general is branch of mathematics. Do you want to say they are somehow separated from math?
Type theory is an alternative foundation.