Got this debugging another error. Filing here for reference. Original code: https://phabricator.intern.facebook.com/P59317705
const currentTime = recalculateCurrentTime();
          expirationTime = computeInteractiveExpiration(currentTime);
        } else {
          
          const currentTime = recalculateCurrentTime();
          expirationTime = computeAsyncExpiration(currentTime);
        }
      } else {
        
        expirationTime = Sync;
      }
    }
    if (isBatchingInteractiveUpdates) {
      
      
      
      if (
        lowestPendingInteractiveExpirationTime === NoWork ||
        expirationTime > lowestPendingInteractiveExpirationTime
      ) {
        lowestPendingInteractiveExpirationTime = expirationTime;
      }
    }