//// [tests/cases/compiler/esModuleInteropImportCall.ts] ////

//// [foo.d.ts]
declare function foo(): void;
declare namespace foo {}
export = foo;

//// [index.ts]
import("./foo").then(f => {
    f.default;
});

//// [index.js]
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
}
Promise.resolve().then(function () { return __importStar(require("./foo")); }).then(function (f) {
    f["default"];
});
