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

51 lines
1.6 KiB
Plaintext

=== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesES6.ts ===
var a, b, c;
>a : any, Symbol(a, Decl(objectLiteralShorthandPropertiesES6.ts, 0, 3))
>b : any, Symbol(b, Decl(objectLiteralShorthandPropertiesES6.ts, 0, 6))
>c : any, Symbol(c, Decl(objectLiteralShorthandPropertiesES6.ts, 0, 9))
var x1 = {
>x1 : { a: any; }, Symbol(x1, Decl(objectLiteralShorthandPropertiesES6.ts, 2, 3))
>{ a} : { a: any; }
a
>a : any, Symbol(a, Decl(objectLiteralShorthandPropertiesES6.ts, 2, 10))
};
var x2 = {
>x2 : { a: any; }, Symbol(x2, Decl(objectLiteralShorthandPropertiesES6.ts, 6, 3))
>{ a,} : { a: any; }
a,
>a : any, Symbol(a, Decl(objectLiteralShorthandPropertiesES6.ts, 6, 10))
}
var x3 = {
>x3 : any, Symbol(x3, Decl(objectLiteralShorthandPropertiesES6.ts, 10, 3))
>{ a: 0, b, c, d() { }, x3, parent: x3} : { a: number; b: any; c: any; d(): void; x3: any; parent: any; }
a: 0,
>a : number, Symbol(a, Decl(objectLiteralShorthandPropertiesES6.ts, 10, 10))
>0 : number
b,
>b : any, Symbol(b, Decl(objectLiteralShorthandPropertiesES6.ts, 11, 9))
c,
>c : any, Symbol(c, Decl(objectLiteralShorthandPropertiesES6.ts, 12, 6))
d() { },
>d : () => void, Symbol(d, Decl(objectLiteralShorthandPropertiesES6.ts, 13, 6))
x3,
>x3 : any, Symbol(x3, Decl(objectLiteralShorthandPropertiesES6.ts, 14, 12))
parent: x3
>parent : any, Symbol(parent, Decl(objectLiteralShorthandPropertiesES6.ts, 15, 7))
>x3 : any, Symbol(x3, Decl(objectLiteralShorthandPropertiesES6.ts, 10, 3))
};