2014-09-06 03:42:05 +02:00
|
|
|
=== tests/cases/conformance/interfaces/interfaceDeclarations/derivedInterfaceDoesNotHideBaseSignatures.ts ===
|
|
|
|
// Derived interfaces no longer hide signatures from base types, so these signatures are always compatible.
|
|
|
|
interface Base {
|
2015-04-16 01:44:20 +02:00
|
|
|
>Base : Base
|
2014-09-06 03:42:05 +02:00
|
|
|
|
|
|
|
(): string;
|
|
|
|
new (x: string): number;
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : string
|
2014-09-06 03:42:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
interface Derived extends Base {
|
2015-04-16 01:44:20 +02:00
|
|
|
>Derived : Derived
|
|
|
|
>Base : Base
|
2014-09-06 03:42:05 +02:00
|
|
|
|
|
|
|
(): number;
|
|
|
|
new (x: string): string;
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : string
|
2014-09-06 03:42:05 +02:00
|
|
|
}
|