<p dir="auto">If you know how to fix the issue, make a pull request instead.</p>
<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 (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bczengel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bczengel">@bczengel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kuzn-ilya/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kuzn-ilya">@kuzn-ilya</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stepancar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stepancar">@stepancar</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ericanderson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ericanderson">@ericanderson</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aj-r/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aj-r">@aj-r</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Ailrun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Ailrun">@Ailrun</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/e-cloud/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/e-cloud">@e-cloud</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jtmthf/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jtmthf">@jtmthf</a></li>
</ul>
</li>
</ul>
<p dir="auto">The <code class="notranslate">NumericDictionaryIterator</code>'s <code class="notranslate">key</code> param is incorrectly typed compared to runtime values. The type of <code class="notranslate">key</code> is <code class="notranslate">number</code> (makes sense, since it's a Dictionary keyed by <code class="notranslate">number</code>), but at runtime, keys of objects are always <code class="notranslate">string</code>.</p>
<p dir="auto">I encountered this while using <code class="notranslate">_.map()</code> on a <code class="notranslate">NumericDictionary</code>. At runtime, <code class="notranslate">key</code> is a string and was creating incorrect data (because I expect it to be a number). I couldn't use <code class="notranslate">parseInt()</code> to convert it to a number, because <code class="notranslate">parseInt()</code> only accepts <code class="notranslate">string</code>, but <code class="notranslate">key</code> is typed as <code class="notranslate">number</code> at compile time.</p>
<p dir="auto">To get correct behavior, I needed to use <code class="notranslate">parseInt(key as any, 10)</code> to convert the run time string value to a number at run time.</p>
<p dir="auto">I didn't want to make a sweeping change like this in a PR, because I'm not aware of intricacies where the current definition of <code class="notranslate">NumericDictionaryIterator</code> may actually be correct at run time. Is the fix really as simple as replacing all current usages of <code class="notranslate">NumericDictionaryIterator</code> (and related) types with the corresponding <code class="notranslate">DictionaryIterator</code> (and related) types, and deleting the <code class="notranslate">NumericDictionaryIterator</code> (and related) types? It seems that the various overloads of methods like <code class="notranslate">_.map()</code> that accept a <code class="notranslate">NumericDictionary</code> should use a plain <code class="notranslate">DictionaryIterator</code>.</p>
<p dir="auto">If someone can confirm that the fix is that simple, I'd be willing to make the changes.</p>
<ul dir="auto">
<li>
<p dir="auto">[ x] I tried using the <code class="notranslate">@types/xml2js</code> package and had problems.</p>
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/michelsalib/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/michelsalib">@michelsalib</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jasonrm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jasonrm">@jasonrm</a></li>
</ul>
</li>
</ul>
<p dir="auto">After I installed xml2js typings,  I get a ton of errors with Node typings.</p>
<p dir="auto">Here are a few samples.  Do I have a collision here?  Thanks</p>
<p dir="auto">ERROR in C:/src/Xbox.Ambassadors/Microsoft.Ambassadors/Microsoft.Ambassadors.Webv2/src/server/node_modules/@types/node/index.d.ts (4128,22): Cannot redeclare block-scoped variable 'S_IXOTH'.</p>
<p dir="auto">ERROR in C:/src/Xbox.Ambassadors/Microsoft.Ambassadors/Microsoft.Ambassadors.Webv2/src/server/node_modules/@types/node/index.d.ts (4427,18): Duplicate identifier 'TLSSocket'.</p>
<p dir="auto">ERROR in C:/src/Xbox.Ambassadors/Microsoft.Ambassadors/Microsoft.Ambassadors.Webv2/src/server/node_modules/@types/node/index.d.ts (4794,10): Duplicate identifier 'Utf8AsciiLatin1Encoding'.</p>
<p dir="auto">ERROR in C:/src/Xbox.Ambassadors/Microsoft.Ambassadors/Microsoft.Ambassadors.Webv2/src/server/node_modules/@types/node/index.d.ts (4795,10): Duplicate identifier 'HexBase64Latin1Encoding'.</p>
<p dir="auto">ERROR in C:/src/Xbox.Ambassadors/Microsoft.Ambassadors/Microsoft.Ambassadors.Webv2/src/server/node_modules/@types/node/index.d.ts (4796,10): Duplicate identifier 'Utf8AsciiBinaryEncoding'.</p>
<p dir="auto">ERROR in C:/src/Xbox.Ambassadors/Microsoft.Ambassadors/Microsoft.Ambassadors.Webv2/src/server/node_modules/@types/node/index.d.ts (4797,10): Duplicate identifier 'HexBase64BinaryEncoding'.</p>
<p dir="auto">ERROR in C:/src/Xbox.Ambassadors/Microsoft.Ambassadors/Microsoft.Ambassadors.Webv2/src/server/node_modules/@types/node/index.d.ts (4798,10): Duplicate identifier 'ECDHKeyFormat'.</p>