19 lines
329 B
Text
19 lines
329 B
Text
=== 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
|
|
|