I'm trying to run 01 example, but I'm getting an error at line 32:
.startWith({x: 100, y: 150})
The error says that
Argument of type '{x: number; y: number; }' is not assignable to parameter of type 'number | Scheduler'. Object literal may only specify known properties, and 'x' does not exist in type 'number | Scheduler'.
After checking startWith documentation, it seems that you can only pass numbers to it. Is there any workaround for this to work?
I'm trying to run 01 example, but I'm getting an error at line 32:
.startWith({x: 100, y: 150})The error says that
After checking
startWithdocumentation, it seems that you can only pass numbers to it. Is there any workaround for this to work?