Skip to content
New issue

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

Is it possible to __get__('Class.#private_property')? #214

Open
kolbma opened this issue Oct 2, 2024 · 0 comments
Open

Is it possible to __get__('Class.#private_property')? #214

kolbma opened this issue Oct 2, 2024 · 0 comments

Comments

@kolbma
Copy link

kolbma commented Oct 2, 2024

With ES6 my TS code became in JS something like _Class_private_property.
So I could use __get__() of rewire to get the object.
Now my question if the TS code becomes rewritten to some JS ES2022 and has also Class and #private_property, how do I call __get()__ on it? Is it possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant