From f49be45a9218699707b65f81116720fae076ece9 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 8 Feb 2018 10:22:54 -0800 Subject: [PATCH] Fix a typo for typescript bindings --- crates/wasm-bindgen-cli-support/src/js.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wasm-bindgen-cli-support/src/js.rs b/crates/wasm-bindgen-cli-support/src/js.rs index c29370c4..a94001b0 100644 --- a/crates/wasm-bindgen-cli-support/src/js.rs +++ b/crates/wasm-bindgen-cli-support/src/js.rs @@ -249,7 +249,7 @@ impl<'a> Context<'a> { ts_dst.push_str("free(): void;\n"); dst.push_str(&exports.contents); - ts_dst.push_str(&exports.contents); + ts_dst.push_str(&exports.typescript); dst.push_str("}\n"); ts_dst.push_str("}\n");