UNPKG

material-motion

Version:

Makes it easy to add rich, interactive motion to your application.

10 lines (9 loc) 507 B
import { Constructor, ObservableWithFoundationalMotionOperators, ObservableWithMotionOperators } from '../types'; export declare type StartWithArgs<T> = { value: T; }; export interface MotionSeedable<T> { startWith(value: T): ObservableWithMotionOperators<T>; startWith(kwargs: StartWithArgs<T>): ObservableWithMotionOperators<T>; } export declare function withStartWith<T, S extends Constructor<ObservableWithFoundationalMotionOperators<T>>>(superclass: S): S & Constructor<MotionSeedable<T>>;