fix(es/helpers): Fix metadata of decorators being undefined (#8768)

This commit is contained in:
sschen86 2024-03-28 15:44:55 +08:00 committed by GitHub
parent b798632a82
commit 263ce6e22b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 };