32 lines
771 B
Plaintext
32 lines
771 B
Plaintext
|
=== tests/cases/conformance/internalModules/exportDeclarations/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.ts ===
|
||
|
module A {
|
||
|
>A : typeof A
|
||
|
|
||
|
class Point {
|
||
|
>Point : Point
|
||
|
|
||
|
constructor(public x: number, public y: number) { }
|
||
|
>x : number
|
||
|
>y : number
|
||
|
}
|
||
|
|
||
|
export var UnitSquare : {
|
||
|
>UnitSquare : { top: { left: Point; right: Point; }; bottom: { left: Point; right: Point; }; }
|
||
|
|
||
|
top: { left: Point, right: Point },
|
||
|
>top : { left: Point; right: Point; }
|
||
|
>left : Point
|
||
|
>Point : Point
|
||
|
>right : Point
|
||
|
>Point : Point
|
||
|
|
||
|
bottom: { left: Point, right: Point }
|
||
|
>bottom : { left: Point; right: Point; }
|
||
|
>left : Point
|
||
|
>Point : Point
|
||
|
>right : Point
|
||
|
>Point : Point
|
||
|
|
||
|
} = null;
|
||
|
}
|