6 lines
82 B
TypeScript
6 lines
82 B
TypeScript
interface Foo {
|
|
export(): string;
|
|
}
|
|
|
|
var f: Foo;
|
|
var x = f.export();
|