Hello,
I am trying to use the conversational UI widget for Angular. Using the getting started instructions I created a Angular 5 application and installed the dependencies. When I run the application I get the following error:
Argument of type 'UnaryFunction<Observable<any[]>, Observable<any[]>>' is not assignable to parameter of
type 'UnaryFunction<Observable<Message>, Observable<any[]>>'. Types of parameters 'source' and 'source' are
incompatible. Type 'Observable<Message>' is not assignable to type 'Observable<any[]>'. Type 'Message' is
not assignable to type 'any[]'. Property 'length' is missing in type 'Message'.
// ... and emit an array of all messages
scan((acc, x) => [...acc, x], [])
L64: );
I have not been able to figure out why this error is occurring. Any assistance would be greatly appreciated.
Scott