I am trying import rxjs operator in my project but surprisingly I am getting below error.
import switchMap from 'rxjs/operators/switchMap';
Unable to load 'rxjs/operator/switchMap' which is required by dynamic module 'UiModule'. The package does not include this module.
I have tried with other libraries but same result. Any idea what went wrong?