24 lines
469 B
Plaintext
24 lines
469 B
Plaintext
|
=== tests/cases/conformance/internalModules/exportDeclarations/ExportVariableWithAccessibleTypeInTypeAnnotation.ts ===
|
||
|
module A {
|
||
|
>A : typeof A
|
||
|
|
||
|
export interface Point {
|
||
|
>Point : Point
|
||
|
|
||
|
x: number;
|
||
|
>x : number
|
||
|
|
||
|
y: number;
|
||
|
>y : number
|
||
|
}
|
||
|
|
||
|
// valid since Point is exported
|
||
|
export var Origin: Point = { x: 0, y: 0 };
|
||
|
>Origin : Point
|
||
|
>Point : Point
|
||
|
>{ x: 0, y: 0 } : { x: number; y: number; }
|
||
|
>x : number
|
||
|
>y : number
|
||
|
}
|
||
|
|