43 - Exclude
Author: M2S-SDCreated Sep 21, 2026Updated Sep 21, 2026
Labelsansweren43
type MyExclude<T, U> = T extends U ? never : T;Source: type-challenges/type-challenges
type MyExclude<T, U> = T extends U ? never : T;Source: type-challenges/type-challenges