import formatErrorMessage from "../formatErrorMessage.js";
import { createSelectorCreator, lruMemoize } from "../../../../reselect/dist/reselect.js";
createSelectorCreator({
  memoize: lruMemoize,
  memoizeOptions: {
    maxSize: 1,
    equalityCheck: Object.is
  }
});
const createSelector = (a, b, c, d, e, f, ...other) => {
  if (other.length > 0) {
    throw new Error(process.env.NODE_ENV !== "production" ? "Unsupported number of selectors" : formatErrorMessage(1));
  }
  let selector;
  if (a) {
    selector = a;
  } else {
    throw new Error("Missing arguments");
  }
  return selector;
};
export {
  createSelector
};
//# sourceMappingURL=createSelector.js.map
