UNPKG

@antv/f2

Version:

Charts for mobile visualization.

7 lines (6 loc) 349 B
import Scale from './base'; import { ScaleConfig } from './types'; type ScaleConstructor<T extends Scale = Scale> = new (cfg: ScaleConfig) => T; declare function getClass(key: string): ScaleConstructor; declare function registerClass(key: string, cls: ScaleConstructor): void; export { Scale, getClass as getScale, registerClass as registerScale };