docs: function forEachExpansion(expansions, fn) {
      let impl = function(expansions) {
          expansions.forEach((expansion) => {
              fn(expansion);
              impl(expansion.expansions);
          });
      };
  
      impl(expansions);
  }