TypeScript Importing from libraries written in ES5 vs. ES6
<p>I get weird errors when running <em>transpiled</em> TypeScript code that depends on external libraries</p>

<p>Such as <code>Uncaught TypeError: es5_lib_1.default is not a function</code></p>

<p>What's wrong?</p>