Skip to content
Discussion options

You must be logged in to vote

Index signature for type 'string' is missing in type 'Colors'.ts(2322)

You can solve this by changing Colors to a type from interface.

TS Playground

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TrevorRice
Comment options

@hasparus
Comment options

Answer selected by hasparus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants