Skip to content

Commit

Permalink
Roact.Fragment -> Roact.createFragment (#2240)
Browse files Browse the repository at this point in the history
  • Loading branch information
osyrisrblx committed Jan 4, 2023
1 parent 6dfd8e6 commit 3a3893e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Project/classes/VirtualProject.ts
Expand Up @@ -71,7 +71,7 @@ export class VirtualProject {
outDir: OUT_DIR,
jsx: ts.JsxEmit.React,
jsxFactory: "Roact.createElement",
jsxFragmentFactory: "Roact.Fragment",
jsxFragmentFactory: "Roact.createFragment",
};
validateCompilerOptions(this.compilerOptions, this.data.nodeModulesPath);

Expand Down
2 changes: 1 addition & 1 deletion templates/game/tsconfig.json
Expand Up @@ -5,7 +5,7 @@
"downlevelIteration": true,
"jsx": "react",
"jsxFactory": "Roact.createElement",
"jsxFragmentFactory": "Roact.Fragment",
"jsxFragmentFactory": "Roact.createFragment",
"module": "commonjs",
"moduleResolution": "Node",
"noLib": true,
Expand Down
2 changes: 1 addition & 1 deletion templates/model/tsconfig.json
Expand Up @@ -5,7 +5,7 @@
"downlevelIteration": true,
"jsx": "react",
"jsxFactory": "Roact.createElement",
"jsxFragmentFactory": "Roact.Fragment",
"jsxFragmentFactory": "Roact.createFragment",
"module": "commonjs",
"moduleResolution": "Node",
"noLib": true,
Expand Down
2 changes: 1 addition & 1 deletion templates/package/tsconfig.json
Expand Up @@ -5,7 +5,7 @@
"downlevelIteration": true,
"jsx": "react",
"jsxFactory": "Roact.createElement",
"jsxFragmentFactory": "Roact.Fragment",
"jsxFragmentFactory": "Roact.createFragment",
"module": "commonjs",
"moduleResolution": "Node",
"noLib": true,
Expand Down
2 changes: 1 addition & 1 deletion templates/plugin/tsconfig.json
Expand Up @@ -5,7 +5,7 @@
"downlevelIteration": true,
"jsx": "react",
"jsxFactory": "Roact.createElement",
"jsxFragmentFactory": "Roact.Fragment",
"jsxFragmentFactory": "Roact.createFragment",
"module": "commonjs",
"moduleResolution": "Node",
"noLib": true,
Expand Down

0 comments on commit 3a3893e

Please sign in to comment.