YSI think it's the reason for keyof You can try running the following code type A = 'a' | 'b' | 'c' | 'd' type C = keyof A;Comment·Article·Apr 27, 2022·TIL: Difference between Omit and Exclude in TypeScript