12 lines
197 B
TypeScript
12 lines
197 B
TypeScript
//// [parserExportAsFunctionIdentifier.ts]
|
|
interface Foo {
|
|
export(): string;
|
|
}
|
|
|
|
var f: Foo;
|
|
var x = f.export();
|
|
|
|
|
|
//// [parserExportAsFunctionIdentifier.js]
|
|
var f;
|
|
var x = f.export();
|