10 lines
182 B
TypeScript
10 lines
182 B
TypeScript
module A {
|
|
|
|
export interface Point {
|
|
x: number;
|
|
y: number;
|
|
}
|
|
|
|
// valid since Point is exported
|
|
export var Origin: Point = { x: 0, y: 0 };
|
|
}
|