Property 'clear' does not exist on type 'any[]'

前端 未结 0 810
眼角桃花
眼角桃花 2021-01-29 22:24

I am defining the type of an array as any []. Then I initialize the array as []. But in other place I am trying to use the .clear method and I am getting this error

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