From 4e704e8a636388fa5420378f74e364dacb20a00a Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Thu, 19 Nov 2020 23:57:30 +0800 Subject: [PATCH] Add "react-jsx", "react-jsxdev" to tsconfig's jsx (#1357) typescript has support new jsx transformation, see https://github.com/microsoft/TypeScript/pull/39199 --- src/schemas/json/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schemas/json/tsconfig.json b/src/schemas/json/tsconfig.json index 48e286e4aea..6a58c43e50a 100644 --- a/src/schemas/json/tsconfig.json +++ b/src/schemas/json/tsconfig.json @@ -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.",