Verify Language Mode in VS Code
Make sure VS Code is recognizing the file as a TypeScript React file. You can manually set the language mode by clicking on the language mode indicator in the bottom-right corner and selecting "TypeScript React".
After clicking on it, you can select the option "Configure File Association for '.tsx'...", then select Typescript JSX