We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07bd753 commit e37cc62Copy full SHA for e37cc62
crates/wasm-rquickjs/src/typescript.rs
@@ -70,7 +70,8 @@ pub fn generate_export_module(context: &GeneratorContext) -> anyhow::Result<()>
70
.collect();
71
let interface_stack: VecDeque<_> = vec![interface_id].into_iter().collect();
72
73
- result.begin_export_module(&name);
+ let js_name = escape_js_ident(name.to_lower_camel_case());
74
+ result.begin_export_module(&js_name);
75
declare_functions_and_resources(
76
&mut result,
77
context,
0 commit comments