Skip to content

Conversation

dbyzero
Copy link

@dbyzero dbyzero commented Sep 20, 2022

Without it I cannot change default color values in typescript without error.

Error :

Type '{ danger: string; success: string; warning: string; info: string; default: string; }' is not assignable to type 'ITheme'.
  Types of property 'danger' are incompatible.
    Type 'string' is not assignable to type '"#bb2124"'

Change ITheme interface to accept other values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant