You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ES decorators bug with inheritance and --bundle #3768
$ esbuild --bundle --target=es2022 test.ts >test.js
$ node test.js
/private/tmp/decorator-issue/test.js:60
__decorateElement(_init, 1, "baz", _baz_dec, _Baz);
^
ReferenceError: _Baz is not defined
at /private/tmp/decorator-issue/test.js:60:48
at Object.<anonymous> (/private/tmp/decorator-issue/test.js:62:3)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Node.js v20.12.2
Activity
fix evanw#3768: bundled decorators in derived classes