mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 10:10:52 +00:00
remove unnecessary blank lines in .d.ts file
This commit is contained in:
parent
23ccd3b5c1
commit
a1995cafd4
@ -743,7 +743,7 @@ impl<'a, 'b> Js2Rust<'a, 'b> {
|
||||
ts.push_str(": ");
|
||||
ts.push_str(&self.ret_ty);
|
||||
}
|
||||
ts.push_str(";\n");
|
||||
ts.push(';');
|
||||
(js, ts, self.js_doc_comments())
|
||||
}
|
||||
}
|
||||
|
@ -845,7 +845,7 @@ impl<'a> Context<'a> {
|
||||
",
|
||||
name,
|
||||
));
|
||||
ts_dst.push_str(" free(): void;\n");
|
||||
ts_dst.push_str(" free(): void;");
|
||||
dst.push_str(&class.contents);
|
||||
ts_dst.push_str(&class.typescript);
|
||||
dst.push_str("}\n");
|
||||
@ -2598,7 +2598,7 @@ impl<'a, 'b> SubContext<'a, 'b> {
|
||||
.argument(&descriptor)?
|
||||
.ret(&Descriptor::Unit)?;
|
||||
ts_dst.push_str(&format!(
|
||||
" {}{}: {};\n",
|
||||
"\n {}{}: {};",
|
||||
if field.readonly { "readonly " } else { "" },
|
||||
field.name,
|
||||
&cx.js_arguments[0].1
|
||||
|
Loading…
x
Reference in New Issue
Block a user