feat: 增加睡眠分析通知功能,支持睡眠质量评估与建议
This commit is contained in:
@@ -93,7 +93,7 @@ export class SimpleEventEmitter {
|
||||
* @param event 事件名称
|
||||
* @returns 监听器数组的副本
|
||||
*/
|
||||
listeners(event: string): ((...args: any[]) => void)[] {
|
||||
getListeners(event: string): ((...args: any[]) => void)[] {
|
||||
return this.listeners[event] ? [...this.listeners[event]] : [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user