Closed
Description
Summary
Let's say I have the following method :
#[wasm_bindgen]
pub fn update (some_url: &str) -> Self {
// whatever
}
How can I rename the argument some_url
to, for example, someUrl
for JS ?
It's possible to do so with structs, functions name, why not arguments individually ?
At least I did not find anything about it in the documentation.
Thanks you in advance !