### 描述: 在 Idea 环境下,使用typescript,报:Cannot use JSX unless the '--jsx' flag is provided ### 方案: typescript 版本太低,可能是idea中的ts配置项指定错误的路径了 ### 参考文档: https://stackoverflow.com/questions/50432556/cannot-use-jsx-unless-the-jsx-flag-is-provided