b.js(1,8): error TS18115: Source phase imports are not allowed on statements that compile to CommonJS 'require' calls.


==== package.json (0 errors) ====
    {"type":"commonjs"}
    
==== a.js (0 errors) ====
    export default 1;
    
==== b.js (1 errors) ====
    import source a from "./a.js";
           ~~~~~~~~
!!! error TS18115: Source phase imports are not allowed on statements that compile to CommonJS 'require' calls.
    const b = import.source("./a.js");
    