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?
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?