mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +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;
|
|
} |