im using angular 6 and i cant import operator map, i try import of tow ways:
using import { map } from 'rxjs/operators'; but visual studio code acused this operator is never used, and i give this error:
and if i import like this: import 'rxjs/add/operator/map';
im give error too
how i can import this operator map?