12 lines
363 B
Plaintext
12 lines
363 B
Plaintext
|
==== tests/cases/compiler/baseTypePrivateMemberClash.ts (1 errors) ====
|
||
|
class X {
|
||
|
private m: number;
|
||
|
}
|
||
|
class Y {
|
||
|
private m: string;
|
||
|
}
|
||
|
|
||
|
interface Z extends X, Y { }
|
||
|
~
|
||
|
!!! Interface 'Z' cannot simultaneously extend types 'X' and 'Y':
|
||
|
!!! Named properties 'm' of types 'X' and 'Y' are not identical.
|