TypeScript/tests/baselines/reference/interfaceWithCommaSeparators.types
2015-04-13 14:29:37 -07:00

12 lines
588 B
Plaintext

=== tests/cases/compiler/interfaceWithCommaSeparators.ts ===
var v: { bar(): void, baz }
>v : { bar(): void; baz: any; }, Symbol(v, Decl(interfaceWithCommaSeparators.ts, 0, 3))
>bar : () => void, Symbol(bar, Decl(interfaceWithCommaSeparators.ts, 0, 8))
>baz : any, Symbol(baz, Decl(interfaceWithCommaSeparators.ts, 0, 21))
interface Foo { bar(): void, baz }
>Foo : Foo, Symbol(Foo, Decl(interfaceWithCommaSeparators.ts, 0, 27))
>bar : () => void, Symbol(bar, Decl(interfaceWithCommaSeparators.ts, 1, 15))
>baz : any, Symbol(baz, Decl(interfaceWithCommaSeparators.ts, 1, 28))