12 lines
162 B
TypeScript
12 lines
162 B
TypeScript
//// [decoratorOnEnum2.ts]
|
|
declare function dec<T>(target: T): T;
|
|
|
|
enum E {
|
|
@dec A
|
|
}
|
|
|
|
//// [decoratorOnEnum2.js]
|
|
var E;
|
|
(function (E) {
|
|
})(E || (E = {}));
|
|
A;
|