mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
29 lines
364 B
TypeScript
29 lines
364 B
TypeScript
module A.B.C {
|
|
export class Point {
|
|
x: number;
|
|
y: number;
|
|
}
|
|
}
|
|
|
|
module A {
|
|
export module B {
|
|
export class C { // Error
|
|
name: string;
|
|
}
|
|
}
|
|
}
|
|
|
|
module M2.X {
|
|
export class Point {
|
|
x: number; y: number;
|
|
}
|
|
}
|
|
|
|
module M2 {
|
|
export module X {
|
|
export var Point: number; // Error
|
|
}
|
|
}
|
|
|
|
|