type Props = 'Prop1' | 'Prop2' | 'Prop3'; type MyMappedTypes = { [P in Props] : boolean; } type MyType = MyMappedTypes<Props>;