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

bool -> boolean in generated TypeScript code #1933

Merged
merged 2 commits into from
Jan 6, 2020
Merged

bool -> boolean in generated TypeScript code #1933

merged 2 commits into from
Jan 6, 2020

Conversation

paulgb
Copy link
Contributor

@paulgb paulgb commented Dec 31, 2019

TypeScript uses the name boolean rather than bool. There is one instance of bool used instead in wasm-bindgen. This fixes the typo.

I believe this fixes the issue behind test1 in #1926.

@alexcrichton
Copy link
Contributor

Oops, sorry about this mistake and thanks for the fix! Would you be up for adding a test for this as well? I think it would go in the crates/typescript-tests directory

@alexcrichton alexcrichton merged commit 620212d into rustwasm:master Jan 6, 2020
@alexcrichton
Copy link
Contributor

Ah I went ahead and added a test, thanks again!

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