t-comm
Version:
专业、稳定、纯粹的工具库
21 lines (20 loc) • 435 B
TypeScript
/**
* 简单的摩斯密码,只有点击
* @param param {object} 参数
*
* @example
* ```ts
* simpleMorse({
* target: 5, // 目标值
* callback: () => console.log('test'),
* timeout: 300, // 超时取消
* debug: false,
* })
* ```
*/
export declare function simpleMorse({ target, callback, timeout, debug, }: {
callback?: Function;
target?: number;
timeout?: number;
debug?: boolean;
}): void;