Skip to content

Commit 3c69235

Browse files
committed
lib dom is needed for Text type in react-dom
1 parent e960f23 commit 3c69235

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"source-map": "^0.7.0"
3131
},
3232
"devDependencies": {
33-
"@types/node": "^10.11.2",
34-
"@types/react": "^16.4.14",
33+
"@types/node": "^10.11.4",
34+
"@types/react": "^16.4.15",
3535
"@types/react-dom": "^16.0.8",
3636
"prettier": "^1.14.3",
3737
"react": "^16.5.2",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"declaration": true,
55
"module": "commonjs",
66
"moduleResolution": "node",
7-
"lib": ["esnext"],
7+
"lib": ["dom", "esnext"],
88
"sourceRoot": "src",
99
"sourceMap": true,
1010
"outDir": "lib"

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@types/node@*", "@types/node@^10.11.2":
6-
version "10.11.2"
7-
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.11.2.tgz#59508b88ce90fe2742f7b8414c6f5db3e359570d"
8-
integrity sha512-XubfQDIg88PGJ7netQPf3QOKHF7Xht4WXGtg5W7cGBeQs9ETbYKwfchR9o+tRRA9iLTQ7nAre85M205JbYsjJA==
5+
"@types/node@*", "@types/node@^10.11.4":
6+
version "10.11.4"
7+
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.11.4.tgz#e8bd933c3f78795d580ae41d86590bfc1f4f389d"
8+
integrity sha512-ojnbBiKkZFYRfQpmtnnWTMw+rzGp/JiystjluW9jgN3VzRwilXddJ6aGQ9V/7iuDG06SBgn7ozW9k3zcAnYjYQ==
99

1010
"@types/prop-types@*":
1111
version "15.5.6"
@@ -20,10 +20,10 @@
2020
"@types/node" "*"
2121
"@types/react" "*"
2222

23-
"@types/react@*", "@types/react@^16.4.14":
24-
version "16.4.14"
25-
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.4.14.tgz#47c604c8e46ed674bbdf4aabf82b34b9041c6a04"
26-
integrity sha512-Gh8irag2dbZ2K6vPn+S8+LNrULuG3zlCgJjVUrvuiUK7waw9d9CFk2A/tZFyGhcMDUyO7tznbx1ZasqlAGjHxA==
23+
"@types/react@*", "@types/react@^16.4.15":
24+
version "16.4.15"
25+
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.4.15.tgz#1f24f1d03b1fc682d92f8485be99d59bf7981191"
26+
integrity sha512-EFQyVZhZCrRjwYDVziTEUGri/ygArIi/ES+JAI0j+3FR0LZ0uRfq2Ed7YnZ1CCn9CM3malSWwTKw5Jo0gVV82A==
2727
dependencies:
2828
"@types/prop-types" "*"
2929
csstype "^2.2.0"

0 commit comments

Comments
 (0)