Skip to content

Cannot use JSX unless the '--jsx' flag is provided #19

Description

@zoeminghong

描述:

在 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions