If in Typescript I have two interfaces which both have a member of same name, how can I securly implement both interfaces? Is this even possible?
Example:
interface IFace1 {
name: string;
}
interface IFace2 {
name: string;
}
class SomeClass extends IFace1, IFace2 {
// How to implement IFace1.name and IFace2.name ??
}
I know in C# this can be resolved and works because of C#'s type information at runtime, but what about Typescript?