![]() ![]() ![]() If you open your ‘tsconfig.json’, there you may get the following error message “Cannot use JSX unless the ‘–jsx’ flag is provided” When you open the “App.tsx” file, it will underline several lines of code with red squiggles and if you hover your mouse on the error, you may get the following error message When you install React JS with TypeScript using the command “ npx create-react-app my-app –template typescript” and open the application using Visual Studio Code (VS Code), then the VS Code IDE may through the following errors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |