I mistyped a message that made my friend waste time
Did you do it on purpose?
I was just kidding with him for a joke.
You can't help a mistake like mistyping. But fess up to it, it's rude to waste others' time.
He is overreacting, I typed it in a bad way.
You should correct a typing mistake as soon as you notice. If it made him waste his time an apology would also be nice.