mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
8 lines
94 B
TypeScript
8 lines
94 B
TypeScript
interface Foo {
|
|
(): number;
|
|
new (): any;
|
|
}
|
|
|
|
var f: Foo;
|
|
var r = f();
|
|
var r2 = new f(); |