Property co-occurrence constraints in TypeScript results in `never` when combining [duplicate]
This question already has answers here: Why does A | B allow a combination of both, and how can I prevent it? (3 answers) Defining a choice of index type on an interface (2 answers) Closed last month. I have two types (extending a common base type) I want to combine, such that when one […]
Property co-occurrence constraints in TypeScript results in `never` when combining [duplicate]
This question already has answers here: Why does A | B allow a combination of both, and how can I prevent it? (3 answers) Defining a choice of index type on an interface (2 answers) Closed last month. I have two types (extending a common base type) I want to combine, such that when one […]
Property co-occurrence constraints in TypeScript results in `never` when combining [duplicate]
This question already has answers here: Why does A | B allow a combination of both, and how can I prevent it? (3 answers) Defining a choice of index type on an interface (2 answers) Closed last month. I have two types (extending a common base type) I want to combine, such that when one […]