From 7560fe4721f583e7b81407f39e39812473ae9a0a Mon Sep 17 00:00:00 2001 From: osyrisrblx Date: Fri, 16 Feb 2024 01:21:01 -0500 Subject: [PATCH] Update templates for new JSX --- templates/game/tsconfig.json | 4 ++-- templates/model/tsconfig.json | 4 ++-- templates/package/tsconfig.json | 4 ++-- templates/plugin/tsconfig.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/game/tsconfig.json b/templates/game/tsconfig.json index 8cc2e71..0e5ea41 100644 --- a/templates/game/tsconfig.json +++ b/templates/game/tsconfig.json @@ -4,8 +4,8 @@ "allowSyntheticDefaultImports": true, "downlevelIteration": true, "jsx": "react", - "jsxFactory": "Roact.createElement", - "jsxFragmentFactory": "Roact.createFragment", + "jsxFactory": "React.createElement", + "jsxFragmentFactory": "React.Fragment", "module": "commonjs", "moduleResolution": "Node", "noLib": true, diff --git a/templates/model/tsconfig.json b/templates/model/tsconfig.json index 8cc2e71..0e5ea41 100644 --- a/templates/model/tsconfig.json +++ b/templates/model/tsconfig.json @@ -4,8 +4,8 @@ "allowSyntheticDefaultImports": true, "downlevelIteration": true, "jsx": "react", - "jsxFactory": "Roact.createElement", - "jsxFragmentFactory": "Roact.createFragment", + "jsxFactory": "React.createElement", + "jsxFragmentFactory": "React.Fragment", "module": "commonjs", "moduleResolution": "Node", "noLib": true, diff --git a/templates/package/tsconfig.json b/templates/package/tsconfig.json index fbca70e..b255ab8 100644 --- a/templates/package/tsconfig.json +++ b/templates/package/tsconfig.json @@ -4,8 +4,8 @@ "allowSyntheticDefaultImports": true, "downlevelIteration": true, "jsx": "react", - "jsxFactory": "Roact.createElement", - "jsxFragmentFactory": "Roact.createFragment", + "jsxFactory": "React.createElement", + "jsxFragmentFactory": "React.Fragment", "module": "commonjs", "moduleResolution": "Node", "noLib": true, diff --git a/templates/plugin/tsconfig.json b/templates/plugin/tsconfig.json index c8b0db2..39f6696 100644 --- a/templates/plugin/tsconfig.json +++ b/templates/plugin/tsconfig.json @@ -4,8 +4,8 @@ "allowSyntheticDefaultImports": true, "downlevelIteration": true, "jsx": "react", - "jsxFactory": "Roact.createElement", - "jsxFragmentFactory": "Roact.createFragment", + "jsxFactory": "React.createElement", + "jsxFragmentFactory": "React.Fragment", "module": "commonjs", "moduleResolution": "Node", "noLib": true,