You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It won't compile with TypeScript. The storageDriver expected type is Driver<Stream<StorageRequest>, StorageSource>, but instead it has the type (request$: Stream<StorageRequest>) => ResponseCollection.
And therefore it won't compile as a driver.
I'm new to cycle.js and so probably I'm doing something wrong. But I can't figure out what. Help please :)
The text was updated successfully, but these errors were encountered:
Minimal project to reproduce: https://gist.github.com/ornicar/fc1d6a4b08bee7c8bcd64ffee55797e1
It won't compile with TypeScript. The
storageDriver
expected type isDriver<Stream<StorageRequest>, StorageSource>
, but instead it has the type(request$: Stream<StorageRequest>) => ResponseCollection
.And therefore it won't compile as a driver.
I'm new to cycle.js and so probably I'm doing something wrong. But I can't figure out what. Help please :)
The text was updated successfully, but these errors were encountered: