hunk.code_window:  * @param {Function} optional comparer function that it will use instead of its default to compare the value of two items.
    * @return {Observable<R>} an Observable that emits item with the smallest number.
    * @method min
    * @owner Observable
    */
   export function min<T>(comparer?: (x: T, y: T) => T): Observable<T> {
     const min: typeof comparer = (typeof comparer === 'function')
       ? comparer
       : (x, y) => x < y ? x : y;
     return this.lift(new ReduceOperator(min));
   }
  
hunk.labels: keep keep keep keep keep replace replace replace keep keep keep
hunk.after_edit: export function min<T>(comparer?: (x: T, y: T) => number): Observable<T> {
     const min: (x: T, y: T) => T = (typeof comparer === 'function')
       ? (x, y) => comparer(x, y) < 0 ? x : y
  
hunk.file_path: src/operator/min.ts
hunk.type: replace
file: var yaml = require('yaml-js');
  var fs = require('fs');
  var inFilename = process.argv[2];
  var outFilename = process.argv[3];
  var yamlContent = fs.readFileSync(inFilename, 'utf8');
  var jsonContent = yaml.load(yamlContent);
  fs.writeFileSync(outFilename, JSON.stringify(jsonContent, null, '  '), 'utf8');
  