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

31 lines
1.2 KiB
Plaintext

=== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesWithModuleES6.ts ===
module m {
>m : typeof m, Symbol(m, Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 0, 0), Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 3, 1))
export var x;
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 2, 14))
}
module m {
>m : typeof m, Symbol(m, Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 0, 0), Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 3, 1))
var z = x;
>z : any, Symbol(z, Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 6, 7))
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 2, 14))
var y = {
>y : { a: any; x: any; }, Symbol(y, Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 7, 7))
>{ a: x, x } : { a: any; x: any; }
a: x,
>a : any, Symbol(a, Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 7, 13))
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 2, 14))
x
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModuleES6.ts, 8, 13))
};
}