Type conditionnel TypeScript
SomeType extends OtherType ? TrueType : FalseType;
MitchAloha
SomeType extends OtherType ? TrueType : FalseType;