hunk.code_window:     );
       expectObservable(result).toBe(expected, {x: '1', y: '2', z: '3'});
     });
     it('should work for one object', () => {
       const a =   cold('--x--|', {x: {prop: 42}});
       const asubs =    '^    !';
       const expected = '--y--|';
  
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit:   it('should work for one array', () => {
       const a =   cold('--x--|', {x: ['abc']});
       const asubs =    '^    !';
       const expected = '--y--|';
       const r = a.pipe(pluck(0));
       expectObservable(r).toBe(expected, {y: 'abc'});
       expectSubscriptions(a.subscriptions).toBe(asubs);
     });
  
hunk.file_path: spec/operators/pluck-spec.ts
hunk.type: add
file: import { of, Observable } from 'rxjs';
  import { pluck } from 'rxjs/operators';
  
  it('should infer correctly', () => {
    const a = of({ name: 'abc' }).pipe(pluck('name')); // $ExpectType Observable<string>
  });
  
  it('should support nested object of 2 layer depth', () => {
    const a = of({ a: { name: 'abc' } }).pipe(pluck('a', 'name')); // $ExpectType Observable<string>
  });
  
  it('should support nested object of 3 layer depth', () => {
    const a = of({ a: { b: { name: 'abc' } } }).pipe(pluck('a', 'b', 'name')); // $ExpectType Observable<string>
  });
  
  it('should support nested object of 4 layer depth', () => {
    const a = of({ a: { b: { c: { name: 'abc' } } } }).pipe(pluck('a', 'b', 'c', 'name')); // $ExpectType Observable<string>
  });
  
  it('should support nested object of 5 layer depth', () => {
    const a = of({ a: { b: { c: { d: { name: 'abc' } } } } }).pipe(pluck('a', 'b', 'c', 'd', 'name')); // $ExpectType Observable<string>
  });
  
  it('should support nested object of 6 layer depth', () => {
    const a = of({ a: { b: { c: { d: { e: { name: 'abc' } } } } } }).pipe(pluck('a', 'b', 'c', 'd', 'e', 'name')); // $ExpectType Observable<string>
  });
  
  it('should support nested object of more than 6 layer depth', () => {
    const a = of({ a: { b: { c: { d: { e: { f: { name: 'abc' } } } } } } }).pipe(pluck('a', 'b', 'c', 'd', 'e', 'f', 'name')); // $ExpectType Observable<unknown>
  });
  
  it('should accept existing keys only', () => {
    const a = of({ name: 'abc' }).pipe(pluck('xyz')); // $ExpectType Observable<unknown>
  });
  
  it('should not accept empty parameter', () => {
    const a = of({ name: 'abc' }).pipe(pluck()); // $ExpectType Observable<unknown>
  });
  
  it('should accept string only', () => {
    const a = of({ name: 'abc' }).pipe(pluck(1)); // $ExpectError
  });
  
  it('should not infer type from the variable if key doesn\'t exist', () => {
    const a: Observable<number> = of({ name: 'abc' }).pipe(pluck('xyz')); // $ExpectError
  });
  
  it('should accept a spread of arguments', () => {
    const obj = {
      foo: {
        bar: {
          baz: 123
        }
      }
    };
  
    const path = ['foo', 'bar', 'baz'];
    const a = of(obj).pipe(pluck(...path)); // $ExpectType Observable<unknown>
  
    const path2 = ['bar', 'baz'];
    const b = of(obj).pipe(pluck('foo', ...path2)); // $ExpectType Observable<unknown>
  });
  