We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ca872a commit bb11e45Copy full SHA for bb11e45
packages/rsocket-flowable/src/Flowable.js
@@ -61,7 +61,7 @@ export default class Flowable<T> implements IPublisher<T> {
61
});
62
}
63
64
- static error<U>(error: Error): Flowable<U> {
+ static error<U = empty>(error: Error): Flowable<U> {
65
return new Flowable(subscriber => {
66
subscriber.onSubscribe({
67
cancel: () => {},
@@ -72,7 +72,7 @@ export default class Flowable<T> implements IPublisher<T> {
72
73
74
75
- static never<U>(): Flowable<U> {
+ static never<U = empty>(): Flowable<U> {
76
77
78
cancel: emptyFunction,
0 commit comments