TypeScript/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.errors.txt
2014-07-12 17:30:19 -07:00

18 lines
633 B
Plaintext

==== 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 },
~
!!! ';' expected.
~
!!! ';' expected.
bottom: { left: Point, right: Point }
~
!!! ';' expected.
} = null;
}