material-motion
Version:
Makes it easy to add rich, interactive motion to your application.
9 lines (8 loc) • 492 B
TypeScript
import { Constructor, EmittingOperation, Observable, ObservableWithMotionOperators } from '../../types';
export declare type _NextOperatorArgs<T, U> = {
operation: EmittingOperation<T, {}, U>;
};
export interface MotionNextOperable<T> extends Observable<T> {
_nextOperator<U>(kwargs: _NextOperatorArgs<T, U>): ObservableWithMotionOperators<U>;
}
export declare function withNextOperator<T, S extends Constructor<Observable<T>>>(superclass: S): S & Constructor<MotionNextOperable<T>>;