Is it possible to securely implement two interfaces in Typescript that both have a member of the same name? Can this be achieved?
For example:
interface IFace1 {
name: string;
}
interface IFace2 {
name: string;
}
class SomeClass implements IFace1, IFace2 {
// How can we implement IFace1.name and IFace2.name ??
}
In C#, this issue can be resolved due to its type information at runtime. However, how would Typescript handle this situation?