,
) in an RxJS pipe(...)
The compile won't catch this extra comma at the end:
pipe(first(), map(result => ({ event: 'completed', result: result}),);
It becomes an 'invisible' undefined
operator which screws the whole pipe up, and leads to a very confusing error message - which in this case has nothing to do with my actual logic.