for example i have this type:type mixed = {k1: string, k2: number}
now i want another type(could be generated from some generic) with only string property type from mixed, like this:
type stringOnly = {k1: string} where k2 from mixed is omitted.
How to do this in typescript? Thanks!