Skip to content

error TS2339 in branch register-http, concerning auth.service.ts import 'map' from rxjs #10

@bevlison

Description

@bevlison

error upon
$ng serve
is
src/app/services/auth.service.ts : error TS2339: Property 'map' does not exist on type 'Observable'

solution is
replacing line 3 in auth.service.ts
3 import 'rxjs/add/operator/map';
by
3 import { map } from 'rxjs/observable/';

This is related to an angular update (2 to 4 I believe)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions