diff --git a/types/rsocket-flowable/Flowable.d.ts b/types/rsocket-flowable/Flowable.d.ts index 07a7af17fd..f132535802 100644 --- a/types/rsocket-flowable/Flowable.d.ts +++ b/types/rsocket-flowable/Flowable.d.ts @@ -5,8 +5,8 @@ export type Source = (subscriber: ISubscriber) => void; */ export default class Flowable implements IPublisher { static just(...values: U[]): Flowable; - static error(error: Error): Flowable<{}>; - static never(): Flowable<{}>; + static error(error: Error): Flowable; + static never(): Flowable; constructor(source: Source, max?: number); subscribe(subscriberOrCallback?: Partial> | ((a: T) => void)): void; lift(onSubscribeLift: (subscriber: ISubscriber) => ISubscriber): Flowable;