#Error when adding new colours in Typescript

5 messages · Page 1 of 1 (latest)

drowsy hull
#

When adding a new colour in theme object I get the following error

  • Property 'colourName' is incompatible with index signature.
  • Target allows only 10 element(s) but source may have more.

It happens even when I just add one element to the colour array.
Is there a solution or I can just go around with '@strong eagle-ignore'?

lavish mural
drowsy hull
drowsy hull