<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/pdfjs-dist</code> package and had problems.<br>
TS2339: Property GlobalWorkerOptions does not exist</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import * as pdflib from 'pdfjs-dist';

pdflib.GlobalWorkerOptions.workerSrc = '......';"><pre class="notranslate"><code class="notranslate">import * as pdflib from 'pdfjs-dist';

pdflib.GlobalWorkerOptions.workerSrc = '......';
</code></pre></div>
<p dir="auto">Voting for Ramda stub: <a href="http://ramdajs.com/" rel="nofollow">http://ramdajs.com/</a></p>
<p dir="auto">Work in progress: <a href="https://github.com/donnut/typescript-ramda">https://github.com/donnut/typescript-ramda</a></p>