Open
Description
repro: https://github.com/joshcartme/tsgo-esm-commonjs-import-bug
In the repro:
$ yarn run tsc
Done in 0.55s.
$ yarn run tsgo
index.ts:1:21 - error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
1 import { foo } from "./shared.vars";
~~~~~~~~~~~~~~~
Found 1 error in index.ts:1
error Command failed with exit code 2.