mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-28 07:51:07 +00:00
fix missing semicolons to struct fields in .d.ts
TypeScript class property requires semicolon at the end: https://www.typescriptlang.org/docs/handbook/classes.html
This commit is contained in:
parent
715b4f4ced
commit
8d6839878e
@ -2514,7 +2514,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user