When I create a TypeScript React app with create-react-app app-name --template typescript and try to edit it in VSCode, I get the following error message Cannot use JSX unless the '--jsx' flag is provided. ts(17004) error. I found out that since version 17 of React, react-jsx is used for the jsx op…