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