tryDismissErrorOverlay = function () {
    __react_refresh_error_overlay__.clearCompileError();
    __react_refresh_error_overlay__.clearRuntimeErrors(!hasRuntimeErrors);
    hasRuntimeErrors = false;
  }
Try dismissing the compile error overlay.
This will also reset runtime error records (if any),
because we have new source to evaluate.
@returns {void}