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

Add a note about renaming types and js_class #1011

Merged
merged 1 commit into from
Nov 5, 2018

Conversation

alexcrichton
Copy link
Contributor

@alexcrichton alexcrichton commented Nov 5, 2018

When a type is renamed in Rust via js_name then all method imports
will also need a js_class annotation to hook them up correctly.

When a type is renamed in Rust via `js_name` then all method imports
will also need a `js_class` annotation to hook them up correctly.
@fitzgen fitzgen merged commit 7a528d4 into rustwasm:master Nov 5, 2018
@alexcrichton alexcrichton deleted the import-doc branch November 5, 2018 23:44
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.

2 participants