mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
2e29d78281
swc_ecma_transforms: - Emit proper typename for `design:type` used with enum. (#1160)
14 lines
159 B
TypeScript
14 lines
159 B
TypeScript
enum MyEnum {
|
|
x = "xxx",
|
|
y = "yyy"
|
|
}
|
|
|
|
class Xpto {
|
|
@Decorator()
|
|
value!: MyEnum;
|
|
}
|
|
|
|
function Decorator() {
|
|
return function (...args) { };
|
|
}
|