Skip to content

Commit

Permalink
Add "react-jsx", "react-jsxdev" to tsconfig's jsx (#1357)
Browse files Browse the repository at this point in the history
typescript has support new jsx transformation, see microsoft/TypeScript#39199
  • Loading branch information
07akioni committed Nov 19, 2020
1 parent 2f8fcee commit 4e704e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schemas/json/tsconfig.json
Expand Up @@ -104,8 +104,8 @@
"type": "boolean"
},
"jsx": {
"description": "Specify JSX code generation: 'preserve', 'react', or 'react-native'.",
"enum": [ "preserve", "react", "react-native" ]
"description": "Specify JSX code generation: 'preserve', 'react', 'react-jsx', 'react-jsxdev' or'react-native'.",
"enum": [ "preserve", "react", "react-jsx", "react-jsxdev", "react-native" ]
},
"reactNamespace": {
"description": "Specifies the object invoked for createElement and __spread when targeting 'react' JSX emit.",
Expand Down

0 comments on commit 4e704e8

Please sign in to comment.