We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally published in tc39/proposal-decorators#536
function effect(getDep) { return function (_, context) { context.addInitializer(function () { console.log(context.access.get(this)()) }); } } class A { @effect(() => [1,2]) #effect() { console.log(123) } } new A();
typescript
no error
swc
babel
esbuild
Uncaught TypeError: Cannot access private method
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Originally published in tc39/proposal-decorators#536
typescript
no error
swc
no error
babel
no error
esbuild
Uncaught TypeError: Cannot access private method
The text was updated successfully, but these errors were encountered: