mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
TS: Add docs for methods
This commit is contained in:
parent
df6e15e3ab
commit
59fd11b31c
@ -2667,9 +2667,10 @@ impl<'a, 'b> SubContext<'a, 'b> {
|
||||
.expect("classes already written")
|
||||
.entry(class_name.to_string())
|
||||
.or_insert(ExportedClass::default());
|
||||
class
|
||||
.contents
|
||||
.push_str(&format_doc_comments(&export.comments, Some(js_doc)));
|
||||
|
||||
let doc_comments = format_doc_comments(&export.comments, Some(js_doc));
|
||||
class.contents.push_str(&doc_comments);
|
||||
class.typescript.push_str(&doc_comments);
|
||||
|
||||
class.typescript.push_str(" "); // Indentation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user