From f141fe0ff31a658979aa1b1abd737662a2fad8a6 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Tue, 2 Apr 2019 12:56:08 -0400 Subject: [PATCH 1/2] Fix #33690 once and for all Introduce an explicit dependency on `hoist-non-react-statics`, since older versions of that package included their own types, which would take precedence over the corresponding `@types` pacakge --- types/hoist-non-react-statics/package.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 types/hoist-non-react-statics/package.json diff --git a/types/hoist-non-react-statics/package.json b/types/hoist-non-react-statics/package.json new file mode 100644 index 0000000000..9a65c78245 --- /dev/null +++ b/types/hoist-non-react-statics/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "hoist-non-react-statics": "^3.3.0" + } +} From 5bd2ad88c3296f69a45a6ffb254bee57db07fa36 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Tue, 2 Apr 2019 19:50:04 -0400 Subject: [PATCH 2/2] Add private: true to the package.json --- types/hoist-non-react-statics/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/hoist-non-react-statics/package.json b/types/hoist-non-react-statics/package.json index 9a65c78245..833c6ee977 100644 --- a/types/hoist-non-react-statics/package.json +++ b/types/hoist-non-react-statics/package.json @@ -1,4 +1,5 @@ { + "private": true, "dependencies": { "hoist-non-react-statics": "^3.3.0" }