12 lines
No EOL
363 B
Text
12 lines
No EOL
363 B
Text
==== 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. |