Typescript Union Type From Object Values Definition