text: /**
   * @hidden
   */
  export function copyChanges(changes, options) {
      for (var propertyName in changes) {
          if (!changes.hasOwnProperty(propertyName)) {
              continue;
          }
          var value = changes[propertyName].currentValue;
          if (value === undefined) {
              delete options[propertyName];
          }
          else {
              options[propertyName] = value;
          }
      }
  }
  