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

Fix getter and setter for TS #1577

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

c410-f3r
Copy link
Contributor

@c410-f3r c410-f3r commented Jun 6, 2019

Some setters were being included without types and this PR also fix some formatting.
I modified the code based on the fact that a getter (get foo()) must have a return and a setter (set foo(a)) must have one argument, at least for TS.

@alexcrichton alexcrichton merged commit 96d333a into rustwasm:master Jun 7, 2019
@alexcrichton
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants