31 lines
430 B
Text
31 lines
430 B
Text
=== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesWithModule.ts ===
|
|
// module export
|
|
|
|
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
|
|
|
|
};
|
|
}
|
|
|