Skip to content

Commit fdb2423

Browse files
committed
Add the types for react web
1 parent 7d8d0bd commit fdb2423

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

packages/typescriptlang-org/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"react-dom": "^16.8.6"
2121
},
2222
"devDependencies": {
23+
"@types/react": "^16.9.2",
24+
"@types/react-dom": "^16.8.5",
2325
"gatsby-plugin-typescript": "^2.0.13",
2426
"prettier": "^1.17.0"
2527
},

yarn.lock

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,13 @@
971971
"@types/history" "*"
972972
"@types/react" "*"
973973

974+
"@types/react-dom@^16.8.5":
975+
version "16.8.5"
976+
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.8.5.tgz#3e3f4d99199391a7fb40aa3a155c8dd99b899cbd"
977+
integrity sha512-idCEjROZ2cqh29+trmTmZhsBAUNQuYrF92JHKzZ5+aiFM1mlSk3bb23CK7HhYuOY75Apgap5y2jTyHzaM2AJGA==
978+
dependencies:
979+
"@types/react" "*"
980+
974981
"@types/react@*", "@types/react@^16.8.12", "@types/react@^16.8.6":
975982
version "16.8.24"
976983
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.8.24.tgz#8d1ea1fcbfa214220da3d3c04e506f1077b0deac"
@@ -979,6 +986,14 @@
979986
"@types/prop-types" "*"
980987
csstype "^2.2.0"
981988

989+
"@types/react@^16.9.2":
990+
version "16.9.2"
991+
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.2.tgz#6d1765431a1ad1877979013906731aae373de268"
992+
integrity sha512-jYP2LWwlh+FTqGd9v7ynUKZzjj98T8x7Yclz479QdRhHfuW9yQ+0jjnD31eXSXutmBpppj5PYNLYLRfnZJvcfg==
993+
dependencies:
994+
"@types/prop-types" "*"
995+
csstype "^2.2.0"
996+
982997
"@types/tmp@^0.0.32":
983998
version "0.0.32"
984999
resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.0.32.tgz#0d3cb31022f8427ea58c008af32b80da126ca4e3"

0 commit comments

Comments
 (0)