23 lines
1.2 KiB
Plaintext
23 lines
1.2 KiB
Plaintext
tests/cases/conformance/internalModules/exportDeclarations/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.ts(8,27): error TS1005: ';' expected.
|
|
tests/cases/conformance/internalModules/exportDeclarations/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.ts(8,43): error TS1005: ';' expected.
|
|
tests/cases/conformance/internalModules/exportDeclarations/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.ts(9,30): error TS1005: ';' expected.
|
|
|
|
|
|
==== 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 },
|
|
~
|
|
!!! error TS1005: ';' expected.
|
|
~
|
|
!!! error TS1005: ';' expected.
|
|
bottom: { left: Point, right: Point }
|
|
~
|
|
!!! error TS1005: ';' expected.
|
|
} = null;
|
|
} |