function trackEvents(feature, interaction) {
    const events = [];
    feature.on('change', function (event) {
      events.push('change');
    });
    interaction.on('translatestart', function (event) {
      events.push(event);
    });
    interaction.on('translateend', function (event) {
      events.push(event);
    });
    return events;
  }
Tracks events triggered by the interaction as well as feature
modifications. Helper function to
@param {Feature} feature Translated feature.
@param {Translate} interaction The interaction.
@return {Array<TranslateEvent|string>} events