Property 'push' does not exist on type '() => void'. How to resolve this error in Typescript Angular 10?

前端 未结 0 1636
悲&欢浪女
悲&欢浪女 2020-12-14 13:32

I am getting this error when I use push() on the array in an Angular 10 project in Typescript.

Error

Property \'push\' does not exist          


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