<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/vladev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vladev">@vladev</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/arusakov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/arusakov">@arusakov</a></li>
</ul>
</li>
</ul>
<p dir="auto">When using the current type definitions:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="declare var SockJS: {
  new(url: string, _reserved?: any, options?: Options): SockJSClass;
  (url: string, _reserved?: any, options?: Options): SockJSClass;"><pre class="notranslate"><code class="notranslate">declare var SockJS: {
  new(url: string, _reserved?: any, options?: Options): SockJSClass;
  (url: string, _reserved?: any, options?: Options): SockJSClass;
</code></pre></div>
<p dir="auto">The constructor returns an instance of SockJSClass, but you cannot do something like this (as it is not exported):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import * as SockJS from 'sockjs-client';

let socket: SockJSClass = new SockJS('http://foo.com');"><pre class="notranslate"><code class="notranslate">import * as SockJS from 'sockjs-client';

let socket: SockJSClass = new SockJS('http://foo.com');
</code></pre></div>
<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>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sergey-buturlakin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sergey-buturlakin">@sergey-buturlakin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ngbrown/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ngbrown">@ngbrown</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rokoroku/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rokoroku">@rokoroku</a></li>
</ul>
<p dir="auto">file: DOMUtils.d.ts<br>
error TS2304: Cannot find name 'EventListenerOrEventListenerObject'.</p>
<p dir="auto">fixed locally by <code class="notranslate">type EventListenerOrEventListenerObject = any;</code> but i rather to have official fix ....</p>