10 lines
No EOL
148 B
TypeScript
10 lines
No EOL
148 B
TypeScript
interface Foo {
|
|
(): { a: number };
|
|
}
|
|
|
|
interface Derived extends Foo {
|
|
(): { a: number; b: number };
|
|
}
|
|
|
|
var d: Derived;
|
|
var r = d(); |