A typo is when your brain knows what you wanted to write but your fingers got it wrong.
"teh" instead of "the", for example
or "it'sn ot" when you meant to write "it's not"
If you spell something wrong or use the wrong word when there's no plausible way that your fingers could have done it on their own, it's not a typo.