mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
12 lines
140 B
TypeScript
12 lines
140 B
TypeScript
module A {
|
|
export var x = 'hello world'
|
|
var y = 12;
|
|
}
|
|
|
|
|
|
var x: string;
|
|
var x = A.x;
|
|
|
|
// Error, since y is not exported
|
|
var y = A.y;
|