mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +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(); |