Skip to content

Commit

Permalink
Add @types/react and @types/react-dom dependency to element
Browse files Browse the repository at this point in the history
Upgrade the type packages.

Fixes #23130
  • Loading branch information
sirreal committed Sep 4, 2020
1 parent 959542c commit eb1ce46
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
24 changes: 16 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
"@types/npm-package-arg": "6.1.0",
"@types/prettier": "1.19.0",
"@types/qs": "6.9.1",
"@types/react-dom": "16.9.5",
"@types/requestidlecallback": "0.3.1",
"@types/semver": "7.2.0",
"@types/sprintf-js": "1.1.2",
Expand Down
9 changes: 3 additions & 6 deletions packages/element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
"description": "Element React module for WordPress.",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress",
"gutenberg",
"element",
"react"
],
"keywords": [ "wordpress", "gutenberg", "element", "react" ],
"homepage": "https://github.com/WordPress/gutenberg/tree/master/packages/element/README.md",
"repository": {
"type": "git",
Expand All @@ -26,6 +21,8 @@
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.9.2",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@wordpress/escape-html": "file:../escape-html",
"lodash": "^4.17.19",
"react": "^16.13.1",
Expand Down

0 comments on commit eb1ce46

Please sign in to comment.