TypeScript/tests/cases/compiler/commentsEnums.ts

15 lines
291 B
TypeScript

// @target: ES5
// @declaration: true
// @removeComments: false
/** Enum of colors*/
enum Colors {
/** Fancy name for 'blue'*/
Cornflower /* blue */,
/** Fancy name for 'pink'*/
FancyPink
} // trailing comment
var x = Colors.Cornflower;
x = Colors.FancyPink;