Difference between extending and intersecting interfaces in TypeScript?
Yes there are differences which may or may not be relevant in your scenario. Perhaps the most significant is the difference in how members with the same property key are handled when present in both types. Consider: interface NumberToStringConverter { convert: (value: number) => string; } interface BidirectionalStringNumberConverter extends NumberToStringConverter { convert: (value: string) => … Read more