0

I want to exclude the firstName key from the string type of the key.

enter image description here

But I got the An index signature parameter type must be either 'string' or 'number'.ts(1023) error.

Sandbox demo: codesandbox.io/s/pzo4u?file=/index.ts

0 Answers0