<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>.  (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tkqubo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tkqubo">@tkqubo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thasner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thasner">@thasner</a> @kenzierocks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clayne11/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clayne11">@clayne11</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tansongyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tansongyang">@tansongyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NicholasBoll/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NicholasBoll">@NicholasBoll</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mDibyo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mDibyo">@mDibyo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pdeva/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pdeva">@pdeva</a></li>
</ul>
<p dir="auto">Currently types packages do not allow peerDependencies while the actual packages can have peerDependencies. In this case react-redux allows redux to match <code class="notranslate">^2.x.x || ^3.x.x || ^4.x.x</code>. The typings for redux v4 however have changed so typescript is throwing <code class="notranslate">All declarations of 'Dispatch' must have identical type parameters.</code></p>
<p dir="auto">Adding <code class="notranslate">"paths": { "redux": ["node_modules/redux"] }</code> to my tsconfig did not solve this problem so I'm wondering what the current approach is to typings for peerDependencies that have their own typings.</p>
<p dir="auto">Can we move @types/react from dependency to peerDependency?</p>
<p dir="auto">I'm experiencing a issue where I have react@16 and it's typings, but types/react-redux installs react@15 typings as dependency which results many compiler errors and red underlines in VS Code.</p>
<p dir="auto">I think that we can solve the issue using @types/react as peerDependency.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tkqubo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tkqubo">@tkqubo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thasner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thasner">@thasner</a> @kenzierocks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clayne11/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clayne11">@clayne11</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tansongyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tansongyang">@tansongyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NicholasBoll/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NicholasBoll">@NicholasBoll</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mDibyo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mDibyo">@mDibyo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pdeva/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pdeva">@pdeva</a></p>