The compiler is flagging an issue:
An arithmetic operation should have a left-hand side of type 'any', 'number' or an enum type.
concerning the following code snippet:
import { map } from 'rxjs/operators';
const multiply = num => map(value => value * num);
Is there a solution to resolve this error ?