Property 'onChange' does not exist on type '() => void'. in ionic

后端 未结 0 1442
暗喜
暗喜 2021-01-18 22:08
batteryStatus() {
    // watch change in battery status
    const subscription = this.batteryStatus.onChange().subscribe(status => {
      console.log(status.leve         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题