material-motion
Version:
Makes it easy to add rich, interactive motion to your application.
9 lines (8 loc) • 435 B
TypeScript
import { Constructor, MotionNextOperable, Observable, ObservableWithMotionOperators } from '../../types';
export declare type _DebounceArgs = {
pulse$?: Observable<any>;
};
export interface MotionDebounceable<T> {
_debounce(kwargs?: _DebounceArgs): ObservableWithMotionOperators<T>;
}
export declare function withDebounce<T, S extends Constructor<MotionNextOperable<T>>>(superclass: S): S & Constructor<MotionDebounceable<T>>;