20 lines
329 B
Plaintext
20 lines
329 B
Plaintext
|
=== tests/cases/conformance/parser/ecmascript5/parserExportAsFunctionIdentifier.ts ===
|
||
|
interface Foo {
|
||
|
>Foo : Foo
|
||
|
|
||
|
export(): string;
|
||
|
>export : () => string
|
||
|
}
|
||
|
|
||
|
var f: Foo;
|
||
|
>f : Foo
|
||
|
>Foo : Foo
|
||
|
|
||
|
var x = f.export();
|
||
|
>x : string
|
||
|
>f.export() : string
|
||
|
>f.export : () => string
|
||
|
>f : Foo
|
||
|
>export : () => string
|
||
|
|