Skip to content

Commit 7662c4b

Browse files
committed
React project converted to tsx, devDependencies for types added
1 parent adbdd7f commit 7662c4b

4 files changed

Lines changed: 36 additions & 24 deletions

File tree

package-lock.json

Lines changed: 31 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
"@testing-library/jest-dom": "^5.11.5",
2323
"@testing-library/react": "^10.4.9",
2424
"@testing-library/react-hooks": "^3.4.2",
25-
"@types/react": "^16.9.55",
25+
"@types/jest": "^26.0.15",
26+
"@types/node": "^14.14.6",
27+
"@types/react": "^16.9.56",
28+
"@types/react-dom": "^16.9.9",
2629
"coveralls": "^3.1.0",
2730
"react": "^16.14.0",
2831
"react-dom": "^16.14.0",

src/App.js renamed to src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import { Steps, Step } from "./lib-ts/index";
3-
import Step1 from "./stepComponents/Step1.tsx";
3+
import Step1 from "./stepComponents/Step1";
44
import Step2 from "./stepComponents/Step2";
55
import Step3 from "./stepComponents/Step3";
66
import Step4 from "./stepComponents/Step4";
File renamed without changes.

0 commit comments

Comments
 (0)