UNPKG

579 BTypeScriptView Raw
1import { SchedulerLike } from '../types';
2import { Observable } from '../Observable';
3export declare function bindCallback(callbackFunc: (...args: any[]) => void, resultSelector: (...args: any[]) => any, scheduler?: SchedulerLike): (...args: any[]) => Observable<any>;
4export declare function bindCallback<A extends readonly unknown[], R extends readonly unknown[]>(callbackFunc: (...args: [...A, (...res: R) => void]) => void, schedulerLike?: SchedulerLike): (...arg: A) => Observable<R extends [] ? void : R extends [any] ? R[0] : R>;
5//# sourceMappingURL=bindCallback.d.ts.map
\No newline at end of file