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';

14 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. This comment has been removed by the author.

    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. 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
  8. Both offline and online consumer electronic guides have been gaining in popularity in recent years. bobsweep pethair plus review

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

    ReplyDelete
  10. 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
  11. Numerous organizations list a technology as one of their upper hands. Is this substantial? At times indeed, however In many cases no.
    https://www.techpally.com/touchcommerce-tech/

    ReplyDelete
  12. At the point when on administration calls I just have my insight into the PC and the Mac, an outside hard drive to reinforcement the customers archives, (regardless of whether they said they have done as such), some product to run a few tests and a screw driver. https://techeries.com/

    ReplyDelete
  13. At that point we have autos that park for their proprietors. They have just been delivered. The driver should simply to venture on the brake when he needs to stop. The vehicle makes itself parallel and drops to an end. car dealerships near me

    ReplyDelete