mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
fix(es/helpers): Fix metadata of decorators being undefined
(#8768)
This commit is contained in:
parent
b798632a82
commit
263ce6e22b
@ -47,7 +47,7 @@ export function _apply_decs_2203_r(targetClass, memberDecs, classDecs, parentCla
|
||||
kindStr = "field";
|
||||
}
|
||||
|
||||
var ctx = { kind: kindStr, name: isPrivate ? "#" + name : name, static: isStatic, private: isPrivate };
|
||||
var ctx = { kind: kindStr, name: isPrivate ? "#" + name : name, static: isStatic, private: isPrivate, metadata: metadata };
|
||||
|
||||
var decoratorFinishedRef = { v: false };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user