2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/conformance/types/objectTypeLiteral/objectTypeLiteralSyntax.ts ===
|
|
|
|
var x: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : { foo: string; bar: string; }, Symbol(x, Decl(objectTypeLiteralSyntax.ts, 0, 3))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo: string;
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : string, Symbol(foo, Decl(objectTypeLiteralSyntax.ts, 0, 8))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
bar: string;
|
2015-04-13 23:01:57 +02:00
|
|
|
>bar : string, Symbol(bar, Decl(objectTypeLiteralSyntax.ts, 1, 16))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
var y: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>y : { foo: string; bar: string; }, Symbol(y, Decl(objectTypeLiteralSyntax.ts, 5, 3))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo: string;
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : string, Symbol(foo, Decl(objectTypeLiteralSyntax.ts, 5, 8))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
bar: string
|
2015-04-13 23:01:57 +02:00
|
|
|
>bar : string, Symbol(bar, Decl(objectTypeLiteralSyntax.ts, 6, 16))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|