P
P
Pogran2016-11-23 09:56:45
Angular
Pogran, 2016-11-23 09:56:45

How to fix rxjs highlighting in WebStorm?

I now have highlights throughout the code prntscr.com/daowha

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Kayun, 2016-11-23
@Pogran

Each rxjs method needs to be wired separately. Of course, you can connect the entire library at once, but only what you need is better.
In the case of .map it will be like this import 'rxjs/add/operator/map.js'

V
Vitaly, 2016-11-23
@vitali1995

import {Observable} from 'rxjs/Rx';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question