React / TypeScript - Type '{ index:number}' is missing the following properties from type 'IList': length, pop, push, concat, and 26 more

前端 未结 0 762
暖寄归人
暖寄归人 2021-01-20 23:59

Using React, and I have defined two interfaces, ICard, IList:

ICard

interface ICard {
    id: any;
    text: string;
    index?: number;
          


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