6e77e2e810
Also got rid of the 'terminalMessages' concept.
16 lines
594 B
Plaintext
16 lines
594 B
Plaintext
tests/cases/compiler/baseTypePrivateMemberClash.ts(8,11): error TS2320: Interface 'Z' cannot simultaneously extend types 'X' and 'Y'.
|
|
Named properties 'm' of types 'X' and 'Y' are not identical.
|
|
|
|
|
|
==== tests/cases/compiler/baseTypePrivateMemberClash.ts (1 errors) ====
|
|
class X {
|
|
private m: number;
|
|
}
|
|
class Y {
|
|
private m: string;
|
|
}
|
|
|
|
interface Z extends X, Y { }
|
|
~
|
|
!!! error TS2320: Interface 'Z' cannot simultaneously extend types 'X' and 'Y'.
|
|
!!! error TS2320: Named properties 'm' of types 'X' and 'Y' are not identical. |