mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
10 lines
252 B
TypeScript
10 lines
252 B
TypeScript
// Derived interfaces no longer hide signatures from base types, so these signatures are always compatible.
|
|
interface Base {
|
|
(): string;
|
|
new (x: string): number;
|
|
}
|
|
|
|
interface Derived extends Base {
|
|
(): number;
|
|
new (x: string): string;
|
|
} |