I'd like to narrow object's keys to only those with string value. Here's an example:
interface Person {
id: number;
name: string;
address: Address;
}
type onlyKeysWithStingValues = ??? // only the key name should be allowed
Basically I'd like to narrow keyof Person to only those keys with string values. Is it possible?