E.g.:
type ObjectOf = { [k: string]: T }; type MapObj> = { [K in keyof Obj]: Obj[K] extends string ? \'s