diff --git a/types/rsocket-flowable/Single.d.ts b/types/rsocket-flowable/Single.d.ts index f4c566c0df..6e2d90934c 100644 --- a/types/rsocket-flowable/Single.d.ts +++ b/types/rsocket-flowable/Single.d.ts @@ -46,7 +46,7 @@ export interface IFutureSubject { */ export default class Single { static of(value: U): Single; - static error(error: Error): Single<{}>; + static error(error: Error): Single; constructor(source: Source); subscribe(partialSubscriber?: Partial>): void; flatMap(fn: (data: T) => Single): Single;