Skip to content

Commit

Permalink
refactor(coverage): use code without meta options in TypeScriptSuite (#…
Browse files Browse the repository at this point in the history
…3552)

The `@jsx: react` is a typescript option. The `Babel` typescript plugin handles @jsx as well, but this is different. `@jsx` in babel is a [pragma](https://babeljs.io/docs/babel-plugin-transform-react-jsx#pragma) option. So we should use code without these meta options to avoid Babel parsing `@jsx` incorrectly
  • Loading branch information
Dunqing committed Jun 6, 2024
1 parent f6939cb commit 3ba2a93
Show file tree
Hide file tree
Showing 3 changed files with 3,651 additions and 3,846 deletions.
Loading

0 comments on commit 3ba2a93

Please sign in to comment.