mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
fix(rsocket-flowable): makes Flowable.error() and Flowable.never() return Flowable<never> (#43318)
This commit is contained in:
parent
c1c7683e9b
commit
0506ca2fe8
4
types/rsocket-flowable/Flowable.d.ts
vendored
4
types/rsocket-flowable/Flowable.d.ts
vendored
@ -5,8 +5,8 @@ export type Source<T> = (subscriber: ISubscriber<T>) => void;
|
||||
*/
|
||||
export default class Flowable<T> implements IPublisher<T> {
|
||||
static just<U>(...values: U[]): Flowable<U>;
|
||||
static error(error: Error): Flowable<{}>;
|
||||
static never(): Flowable<{}>;
|
||||
static error(error: Error): Flowable<never>;
|
||||
static never(): Flowable<never>;
|
||||
constructor(source: Source<T>, max?: number);
|
||||
subscribe(subscriberOrCallback?: Partial<ISubscriber<T>> | ((a: T) => void)): void;
|
||||
lift<R>(onSubscribeLift: (subscriber: ISubscriber<R>) => ISubscriber<T>): Flowable<R>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user