React uses XML so the syntax requires closing tag />. However when I press enter after clicking on it, I get standard HTML <img> tag. This is my setting:
I added @types/react and @types/react-dom but didn't change things. I also don't know what I am supposed to set in type or what it does.