mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +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) { };
|
|
}
|