The snippet above fails to compile with the following error
Property '[Symbol.observable]' is missing in type '{ subscribe: (observer: Observer<number>) => Subscription; get: () => number; inc: () => void; }' but required in type 'Counter'.
Hey @mlrv! Thanks for logging this issue. Yep, this is a regression caused by integration with Symbol.observable interop. We need to use newProperty instead of direct object construction via { }.
One of the examples provided in the readme fails to compile. The following snippet is copy pasted directly from the readme.
The snippet above fails to compile with the following error
Versions are as follows