Use of the instant-self-answer feature is irrelevant
Judge the question the same way that you would judge a new question that didn't have an answer. If it's a duplicate or otherwise fails to meet standards, vote to close it. If it's low quality, downvote it.
Judge the answer the same way that you would judge anyone else's answer to the question. If it's answering a question that should have been closed, downvote it. If it's otherwise low quality, downvote it. If it's not attempting to answer a question (or if it's vandalism, e.g. a profanity-laced rant about the language or libraries used in the question), flag it. If it's wrong, and you have the privilege, vote to delete it.
The only interesting thing about instant self-answers here is that the content of the answer often helps to establish that the problem was caused by a typo.
Don't worry about other people getting it wrong - mostly
Lots of people have wrong ideas about how instant self-answers are supposed to work. Some people wrongly think they're bad on principle, because of an attempt to collect reputation twice, and will downvote on principle to penalize that. But if you put in twice the effort, you deserve twice the reward. Questions and answers both take effort to write. On the flip side, some people think that posting an answer to your own question is a way to show that you did research. But research is not about deserving reputation (or an answer); it's about improving the question quality. A bad question is still a bad question even if OP knows how to answer it. (A good question can meaningfully be answered - and asked - by others, too.)
Votes are anonymous by design, and comments aren't for extended discussion, so you won't ever be able to berate people into voting the "right" way. But you can leave any comment feedback on the question that you normally would; and if the answer acknowledges a typo, you can comment there to explain why questions about typos are not suitable and should not be answered.