function createModuleLoaderWithExtraEdgesSupport(loaderCalls) {
  return {
    loadModules(ids, moduleInfoMap, loadOptions) {
      loaderCalls.push({
        ids: ids,
        moduleInfoMap: moduleInfoMap,
        ...loadOptions,
      });
    },
    supportsExtraEdges: true,
  };
}
Creates an AbstractModuleLoader implementation with extra edges support
@param {!Array} loaderCalls array to which the arguments of loadModules will
    be appended
@return {!Object<function(), boolean>}
@suppress {checkTypes} suppression added to enable type checking