![typescript - Extended interfaces with union type is throwing "property does not exist on type" error. How to fix this? - Stack Overflow typescript - Extended interfaces with union type is throwing "property does not exist on type" error. How to fix this? - Stack Overflow](https://i.stack.imgur.com/cCPmM.png)
typescript - Extended interfaces with union type is throwing "property does not exist on type" error. How to fix this? - Stack Overflow
![Haz on Twitter: "Just learned about this distinction between `type` and ` interface` in TypeScript. I guess I'll have to switch to interface to document APIs. 😐 https://t.co/H6VItZv4eN" / Twitter Haz on Twitter: "Just learned about this distinction between `type` and ` interface` in TypeScript. I guess I'll have to switch to interface to document APIs. 😐 https://t.co/H6VItZv4eN" / Twitter](https://pbs.twimg.com/media/FkWCYVlWIAAM-1A.jpg)
Haz on Twitter: "Just learned about this distinction between `type` and ` interface` in TypeScript. I guess I'll have to switch to interface to document APIs. 😐 https://t.co/H6VItZv4eN" / Twitter
Error "TS2320" when interface extends interface that has optional member and another interface that has same named required member · Issue #3598 · microsoft/TypeScript · GitHub
![TypeScript: What is the difference between type and interface? | by Andrew Courter | Level Up Coding TypeScript: What is the difference between type and interface? | by Andrew Courter | Level Up Coding](https://miro.medium.com/v2/resize:fit:734/1*VSwHlJGHJP-mJ0xg34ljwQ.png)