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

Getters and setters are set as fields, and normal fields are not visible by VSCode #17

Open
Cafe137 opened this issue Aug 30, 2021 · 0 comments · May be fixed by #30
Open

Getters and setters are set as fields, and normal fields are not visible by VSCode #17

Cafe137 opened this issue Aug 30, 2021 · 0 comments · May be fixed by #30
Labels

Comments

@Cafe137
Copy link
Contributor

Cafe137 commented Aug 30, 2021

Example:

node.setMetadata = xyz
const xyz = node.getMetadata

Expected API:

node.metadata = xyz
const xyz = node.metadata

The latter seems to work too, but VSCode only sees the former one.


This pattern seems to be used in the library as well, eg node.ts:317:

this.setEntry = entry
@bee-runner bee-runner bot added the issue label Aug 30, 2021
@nugaon nugaon linked a pull request Feb 11, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant