- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
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[];
|