Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'BGColors'

后端 未结 0 1977
独厮守ぢ
独厮守ぢ 2020-11-27 15:29

I am trying to convert the following React component to TypeScript:

import clsx from \'clsx\'

type BGColors = {
    amber: string
    emerald: string
    fuc         


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