Array.fill expects 1-3 arguments, got 0?

前端 未结 0 1519
一整个雨季
一整个雨季 2021-01-16 11:40

Im migrating my react app to typescript and am running into an issue with these blocks of code:

const weekNumber = [
    ...Array(CURRENT_WEEK_NUMBER)
      .         


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