TIL: Difference between Omit and Exclude in TypeScript
I was trying to use Omit utility type to create a mapped type and it was giving me an error. Please consider the example below. The Problem I have a type with union literals like this type something = 'abc' | 'bcd' | 'cde' | 'def'; I wanted to creat...




