Typescript Error: Argument of type 'string' is not assignable to parameter of type 'Segment | undefined'

前端 未结 0 1925
孤独总比滥情好
孤独总比滥情好 2021-02-07 11:23

The following Typescript code

const getAllChartData = async (searchParams: SearchParams) => {
    // Remove existing segment data if not in searchParams
    co         


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