mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
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.
9 lines
176 B
JSON
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"
|
|
}
|
|
}
|