8 lines
240 B
TypeScript
8 lines
240 B
TypeScript
import { ScaleConfig } from '../types';
|
|
/**
|
|
* 计算 time 的 ticks,对 month, year 进行 pretty 处理
|
|
* @param cfg 度量的配置项
|
|
* @returns 计算后的 ticks
|
|
*/
|
|
export default function timePretty(cfg: ScaleConfig): number[];
|