Code Spell Checker is a handy VSCode extension. It highlights typos in the code, e.g. in the names of your classes or methods, or even in the code comments. You can quickly fix the typo based on the suggestions or add a custom word to the user or workspace dictionary.
It's important to avoid typos, especially in the public API of libraries that you author. Nobody enjoys using misspelled API. Moreover, you don't want the hassle of introducing a breaking change just to fix a misspelled method's name - library users are not fond of breaking changes.