Skip to content

Commit 072e732

Browse files
committed
Set tsconfig.json "jsx" key to "react".
Commented out value of jsx in tsconfig.json after running `tsc --init` is now "react".
1 parent f506468 commit 072e732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/commandLineParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ namespace ts {
234234
{
235235
name: "jsx",
236236
type: createMapFromTemplate({
237+
"react": JsxEmit.React,
237238
"preserve": JsxEmit.Preserve,
238239
"react-native": JsxEmit.ReactNative,
239-
"react": JsxEmit.React
240240
}),
241241
affectsSourceFile: true,
242242
paramType: Diagnostics.KIND,

0 commit comments

Comments
 (0)