register.d.ts 367 B

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