mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +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;
|
|
} |