This repo demonstrates a problem with the Typescript esModuleInterop. If typescript is given a CJS module whose exports include an enumerable default
property, an error is thrown.
node lib/index.js
Note the "Cannot redefine property: default" error that is thrown
yarn compile