/** * 防抖函数 * 事件频繁触发,只会执行最后一次 */ declare function debounce any>(fn: T, ms: number): (this: unknown, ...args: Parameters) => void; export { debounce };