Property 'zip' does not exist on type 'typeof Observable'. Angular 6

property for sale
property to rent
property websites
property site
property search
rightmove
zoopla
property history

I am using angular 6 as well as read about pipe but didn't get any proper syntax to write zip and imported zip as well. Error: Property 'zip' does not exist on type 'typeof Observable'.

import { zip } from 'rxjs/operators';

callZipFunction(): void {
            Observable
            .zip( this.commonService.GetMethodA(), this.commonService.GetMethodB())
            .subscribe(([a,b])=>{
            console.log(a);
            console.log(b);
            });
        }

@dmcgrandle Thanks for resolving the Issue

import { zip  } from 'rxjs';

    callZipFunction(): void {
        zip( this.commonService.GetMethodA(), this.commonService.GetMethodB())
        .subscribe(([a,b])=>{
        console.log(a);
        console.log(b);
        });
    }

An autumn stamp duty holiday will paralyse the property market, An autumn stamp duty holiday will paralyse the property market 1. Search Any Address 2. See Property Records, Deeds & Titles, Owner Info & Much More. Connect To The People & Places In Your Neighborhood & Beyond. Try Searching Today!

Try to import this way

import {Observable} from "rxjs/Observable";
import "rxjs/add/observable/zip";

Refrence

Most affordable places to buy a home named, Most affordable places to buy a home named - where property costs just twice salaries Get the Details About Any Home in the Country. Just Enter the Address and Hit Search. Try Our Instant Home Value Estimator to Determine the True Value of Any Home. Start Now.

If you have code this like;

  let source$ = Observable.range(0, this.value).zip(
   Observable.timer(0, 1000),
   (x) => { return x }
  ).map(x => {
   return this.value - x
  });        

Add;

    import "rxjs/add/operator/map";
    import "rxjs/add/operator/zip";

Property, Search for property with the UK's leading resource. Browse houses and flats for sale and to rent, and find estate agents in your area. Search For Property For Sell & Get Awesome Results. Search Property For Sell. Compare Results on Zoo.com

Real Estate, The most uncluttered, user-friendly property portal. Find hundreds of 1000s of properties for sale & to rent from leading UK estate agents | OnTheMarket. Search Properties for Sale by Property Type, Location, Price, etc

Rightmove, Over 1 million properties for sale and to rent from UK's top estate agents and developers. Find Your Dream Home with PrimeLocation. Property definition is - a quality or trait belonging and especially peculiar to an individual or thing. How to use property in a sentence. Synonym Discussion of property.

Zoopla > Search Property to Buy, Rent, House Prices, Estate Agents, Latest Property news, comment and analysis from the Guardian, the world's leading liberal voice. Zillow has 7,559 homes for sale in Los Angeles CA matching. View listing photos, review sales history, and use our detailed real estate filters to find the perfect place.

Comments
  • What version of rxjs are you trying to use?
  • "rxjs": "~6.3.3"
  • then try import { zip } from 'rxjs'; and remove the Observable and the dot in front of .zip ...
  • You're welcome. :)