<p dir="auto"><code class="notranslate">@types/enzyme</code> pulls <code class="notranslate">@types/cheerio</code> that pulls <code class="notranslate">@types/node</code> using triple slash notation that is not compatible with web platform and can't be disabled using <code class="notranslate">types</code> property in <code class="notranslate">tsconfig.json</code> causing react tests using enzyme to fail due to TS issues caused by incompatibility of <code class="notranslate">setTimeout()</code>, <code class="notranslate">setInterval()</code> etc signatures between web and node platform.</p>
<p dir="auto">This is regression introduced in this commit: <a class="commit-link" href="https://github.com/DefinitelyTyped/DefinitelyTyped/commit/602e04583e74ac8eaead02a1269a9a33192e1c9a#diff-b6bce2a5160083400070377ac11edbb8"><tt>602e045</tt>#diff-b6bce2a5160083400070377ac11edbb8</a></p>
<p dir="auto">The workaround is to lock dependency on version <code class="notranslate">@types/cheerio@0.22.10</code>.</p>
<p dir="auto">Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/blittle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/blittle">@blittle</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wmaurer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wmaurer">@wmaurer</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/umarniz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/umarniz">@umarniz</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LiJinyao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LiJinyao">@LiJinyao</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chennakrishna8/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chennakrishna8">@chennakrishna8</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AzSiAz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AzSiAz">@AzSiAz</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nwtgck/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nwtgck">@nwtgck</a></p>
<p dir="auto">Regarding the npm package "mongodb" in Version ~3.2.0 :</p>
<p dir="auto">Because of incomplete typedescriptions for at least the type , i get typescript compiling errors in my module.</p>
<p dir="auto">The lacking descriptions for my case are:<br>
 </p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Property 'dropAllIndexes' does not exist on type 'Collection&lt;any&gt;'
Property 'ensureIndex' does not exist on type 'Collection&lt;any&gt;'.
Property 'findAndModify' does not exist on type 'Collection&lt;any&gt;'.
Property 'findAndRemove' does not exist on type 'Collection&lt;any&gt;'."><pre class="notranslate"><code class="notranslate">Property 'dropAllIndexes' does not exist on type 'Collection&lt;any&gt;'
Property 'ensureIndex' does not exist on type 'Collection&lt;any&gt;'.
Property 'findAndModify' does not exist on type 'Collection&lt;any&gt;'.
Property 'findAndRemove' does not exist on type 'Collection&lt;any&gt;'.
</code></pre></div>
<p dir="auto">I didnt check all types or properties though. Please complete theses descriptions, so there are no more typescript compiling errors.</p>
<p dir="auto">Thank you!</p>