No problem. As others mentioned; declare var is the way to go (my TS is getting rusty, apparently :) ).<p>Editors have no problem with it. They will simply see it as an &quot;any&quot; var. Completely compatible.<p>I wrote quite a bit of TS and this was how I used most obscure libraries. I can&#x27;t be arsed to keep those stupid .d.ts files up to date and I trust the API docs. It&#x27;s my own code I wanted to vet. Works like a charm.<p>Judicious use of declare var any, and ignoring compiler errors, is what really makes TS reality-compatible.