Add support for taking in jsxFactory option and report errors for invalid combinations

This commit is contained in:
Sheetal Nandi
2016-11-09 12:12:48 -08:00
parent 28cc938503
commit 4b8a55793a
7 changed files with 204 additions and 1 deletions

View File

@@ -77,6 +77,11 @@ namespace ts {
type: "string",
description: Diagnostics.Specify_the_object_invoked_for_createElement_and_spread_when_targeting_react_JSX_emit
},
{
name: "jsxFactory",
type: "string",
description: Diagnostics.Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h
},
{
name: "listFiles",
type: "boolean",