30 lines
415 B
Text
30 lines
415 B
Text
=== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesWithModuleES6.ts ===
|
|
|
|
module m {
|
|
>m : typeof m
|
|
|
|
export var x;
|
|
>x : any
|
|
}
|
|
|
|
module m {
|
|
>m : typeof m
|
|
|
|
var z = x;
|
|
>z : any
|
|
>x : any
|
|
|
|
var y = {
|
|
>y : { a: any; x: any; }
|
|
>{ a: x, x } : { a: any; x: any; }
|
|
|
|
a: x,
|
|
>a : any
|
|
>x : any
|
|
|
|
x
|
|
>x : any
|
|
|
|
};
|
|
}
|
|
|