error TS2322: Type 'List | undefined' is not assignable to type 'any[] (Iterable & any[]) | (any[] & Iterable) | null | undefined'

前端 未结 0 867
小蘑菇
小蘑菇 2021-01-04 04:27

I am following along to a youtube tutorial for angular, I see that it is bad practice to apply any to a variable so I changed it to be assigned to my List

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