hunk.code_window:  *
    * ![](pluck.png)
    *
    * Given a list of strings describing a path to an object property, retrieves
    * the value of a specified nested property from all values in the source
    * Observable. If a property can't be resolved, it will return `undefined` for
    * that value.
    *
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:  * Given a list of strings or numbers describing a path to a property, retrieves
  
hunk.file_path: src/internal/operators/pluck.ts
hunk.type: replace
file: import { of } from 'rxjs';
  import { publishBehavior } from 'rxjs/operators';
  
  it('should enforce parameter', () => {
    const a = of(1, 2, 3).pipe(publishBehavior()); // $ExpectError
  });
  
  it('should infer correctly with parameter', () => {
    const a = of(1, 2, 3).pipe(publishBehavior(4)); // $ExpectType Observable<number>
  });
  
  it('should enforce type on parameter', () => {
    const a = of(1, 2, 3).pipe(publishBehavior('a')); // $ExpectError
  });
  