mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +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;
|