Skip to content

Commit

Permalink
Add react-jsx to jsconfig jsx property
Browse files Browse the repository at this point in the history
Ports SchemaStore#1357 to the jsconfig schema

Fixes microsoft/vscode#112710
  • Loading branch information
mjbvz committed Dec 17, 2020
1 parent 0af46d8 commit de72404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schemas/json/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
"default": false
},
"jsx": {
"description": "When down-level compiling, specify JSX code generation: 'preserve', 'react', or 'react-native'. Requires TypeScript version 2.2 or later.",
"enum": [ "preserve", "react", "react-native" ]
"description": "When down-level compiling, specify JSX code generation: 'preserve', 'react', 'react-jsx', 'react-jsxdev' or 'react-native'.",
"enum": [ "preserve", "react", "react-jsx", "react-jsxdev", "react-native" ]
},
"reactNamespace": {
"description": "When down-level compiling, specify the object invoked for createElement and __spread when targeting 'react' JSX emit.",
Expand Down

0 comments on commit de72404

Please sign in to comment.