UNPKG

367 BTypeScriptView Raw
1import { TickMethod } from '../types';
2/**
3 * 获取计算 ticks 的方法
4 * @param key 键值
5 * @returns 计算 ticks 的方法
6 */
7export declare function getTickMethod(key: string): TickMethod;
8/**
9 * 注册计算 ticks 的方法
10 * @param key 键值
11 * @param method 方法
12 */
13export declare function registerTickMethod(key: string, method: TickMethod): void;