inherit comments from class method
This commit is contained in:
parent
e4db93f6a5
commit
93e37aaaf1
@ -234,6 +234,8 @@ class ClassTransformer {
|
||||
|
||||
if (node.kind === "get") kind = "get";
|
||||
if (node.kind === "set") kind = "set";
|
||||
|
||||
t.inheritsComments(node.value, node);
|
||||
map[kind] = node.value;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user