mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-29 23:52:16 +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")
|
.expect("classes already written")
|
||||||
.entry(class_name.to_string())
|
.entry(class_name.to_string())
|
||||||
.or_insert(ExportedClass::default());
|
.or_insert(ExportedClass::default());
|
||||||
class
|
|
||||||
.contents
|
let doc_comments = format_doc_comments(&export.comments, Some(js_doc));
|
||||||
.push_str(&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
|
class.typescript.push_str(" "); // Indentation
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user