DefinitelyTyped/types/react-redux/package.json
Andrew Schmadel 8cebff3068 Add an explicit dependency on hoist-non-react-statics (#35235)
Will hopefully fix #33690 by introducing a direct dependency on hoist-non-react-statics.

Unfortunately, the TS module-resolution algorithm will often grab the types from
hoist-non-react-statics v2.5.x (which is still widely-used, and included an internal .d.ts file) before finding @types/hoist-non-react-statics (which is what react-redux should actually be using).

Adding an explicit dependency on the (type-less) package appears to force the correct behavior.
2019-05-13 15:17:36 -07:00

9 lines
176 B
JSON

{
"private": true,
"dependencies": {
"@types/hoist-non-react-statics": "^3.3.0",
"hoist-non-react-statics": "^3.3.0",
"redux": "^4.0.0"
}
}