hunk.code_window:     it('should set callback function context to context of returned function', () => {
         function callback(this: any, cb: Function) {
           cb(this.datum);
         }
         const boundCallback = bindCallback(callback);
         const results: Array<string|number> = [];
         boundCallback.apply({datum: 5})
           .subscribe(
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:       const boundCallback = bindCallback<number>(callback);
  
hunk.file_path: spec/observables/bindCallback-spec.ts
hunk.type: replace
file: import "tslib";
  
  var NotificationKind;
  
  (function(NotificationKind) {
      NotificationKind["NEXT"] = "N";
      NotificationKind["ERROR"] = "E";
      NotificationKind["COMPLETE"] = "C";
  })(NotificationKind || (NotificationKind = {}));
  