mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
11 lines
189 B
TypeScript
11 lines
189 B
TypeScript
module A {
|
|
export enum Color { Red, Blue }
|
|
enum Day { Monday, Tuesday }
|
|
}
|
|
|
|
// not an error since exported
|
|
var a: A.Color = A.Color.Red;
|
|
|
|
// error not exported
|
|
var b = A.Day.Monday;
|