@antv/x6
Version:
JavaScript diagramming library that uses SVG and HTML for rendering.
12 lines (11 loc) • 319 B
TypeScript
export declare namespace Interp {
type Definition<T> = (from: T, to: T) => (time: number) => T;
}
export declare namespace Interp {
const number: Definition<number>;
const object: Definition<{
[key: string]: number;
}>;
const unit: Definition<string>;
const color: Definition<string>;
}