Friday, July 15, 2016

Angular2 fromPromise Does Not Exist On Type 'typeof Observable'

Problem:
In VS2015, using Angluar 2, getting the following error: fromPromise Does Not Exist On Type 'typeof Observable'

Solution:
Explicitly import fromPromise operator e.g.

import { Observable } from 'rxjs/Observable';
import 'rxjs/add/observable/fromPromise';

22 comments:

  1. Wow, nice shot. :) Exactly what I needed!

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. y which they built up their first casual instruction of information of the sea streams, climate conditions, cruising practice, astronavigation, and star maps. More about the author

    ReplyDelete
  4. Try the games on your android gadget out today and check whether you aren't snared shape the word go. When you begin, you won't have the capacity to quit playing these great games. AD List 24

    ReplyDelete
  5. PCs and correspondence advancements likewise advance more market-like types of generation and appropriation.top entrepreneur movies about sales

    ReplyDelete
  6. Despite the fact that the science and the cosmetics of technology electronics appears to be super muddled, it is honestly exceptionally clear and not as troublesome as individuals attempt to influence it to show up. Robot vacuum

    ReplyDelete
  7. Drivers on reserve at pickup focuses or on ordered rest breaks can get to the web and download documents and records. bobsweep reviews

    ReplyDelete
  8. hunting and enrolling down classes, pay educational cost and that notwithstanding being incorporated in the organization, and so on technology is likewise generally used to instruct and is esteemed by advanced education. bobsweep pro

    ReplyDelete
  9. Its essentialness on people is gigantic in light of the fact that technology encourages them adjust to nature. Bobsweep reviews

    ReplyDelete
  10. There are several types of wigs that you can select from but the best types of wigs are custom human hair wigs comment

    ReplyDelete
  11. Notwithstanding, if so taught, your business technology mentor will settle on choices for your sake dependent on strong experience and comprehension of your destinations.
    bobsweep pro

    ReplyDelete
  12. Both offline and online consumer electronic guides have been gaining in popularity in recent years. bobsweep pethair plus review

    ReplyDelete
  13. The "test design" commanded programming from midnight until the following evening. bobsweep vs roomba reviews

    ReplyDelete
  14. By utilizing the TVSS parts, you are taking out this over the top current (because of commotion, glitches, and so on.) from the "control line" current, streaming into your electronic framework. Bobsweep reviews

    ReplyDelete
  15. Aiding in the perception of elective improvement and development ways accessible to the association Bobsweep reviews

    ReplyDelete
  16. In this plan, you require not stress to pay any settled month to month rental to your specialist co-op. You simply need to buy a telephone card of fitting worth.Bobsweep pethair plus robotic vacuum cleaner and mop reviews

    ReplyDelete
  17. Beside technology updates and audits about new contraptions, additional data that could be helpful for working and keeping up your innovative gadgets can likewise be found in the survey site. ECOVACS DEEBOT N79S reviews

    ReplyDelete
  18. The three best colleges in Singapore incorporate the National University of Singapore (NUS),HOSPITALITY MUT Nanyang Technological University, and Singapore Management University.

    ReplyDelete
  19. This framework may likewise give the way to affecting constant exchanges and make delegates, for example, deals assistants, stock specialists and travel operators, whose work is to give a basic data interface among purchasers and merchants, excess. bras for elderly

    ReplyDelete
  20. In the present economy, it has helped organizations decrease the expense and bothers of voyaging, enabling them to meet as frequently as they could like without agonizing over finding the monetary allowance to settle it. hearing amplifiers rechargeable

    ReplyDelete
  21. SkySlope is a proficient and dependable paperless ducument the board for operators and intermediaries who wish to take their organizations to more elevated amounts of control and benefit by utilizing power programming technology to sort out their organizations. robots Washington

    ReplyDelete