No index signature with a parameter of type 'string' was found on type 'SurveySettingTypes'

前端 未结 0 1576
攒了一身酷
攒了一身酷 2021-01-29 20:15

I want to have a obj like this:

type SurveySettingTypes = {
  validity_period?: string 
  validity_start_time?: string
  validity_end_time?: string 
}


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