0

I want to define a type like this:

Record<Exclude<string, "strData">, number> & {strData?: string}

How to fix this code to make it work in typescript?

饕餮饗食
  • 105
  • 1
  • 5

0 Answers0