2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/conformance/internalModules/exportDeclarations/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.ts (3 errors) ====
|
|
|
|
module A {
|
|
|
|
|
|
|
|
class Point {
|
|
|
|
constructor(public x: number, public y: number) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
export var UnitSquare : {
|
|
|
|
top: { left: Point, right: Point },
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1005: ';' expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1005: ';' expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
bottom: { left: Point, right: Point }
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1005: ';' expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
} = null;
|
|
|
|
}
|