* Determines whether to emit an accessor declaration. We should not emit the * declaration if it does not have a body and is abstract. * * @param node The declaration node.
(node)
| 93252 | * @param node The declaration node. |
| 93253 | */ |
| 93254 | function shouldEmitAccessorDeclaration(node) { |
| 93255 | return !(ts.nodeIsMissing(node.body) && ts.hasSyntacticModifier(node, 128 /* ModifierFlags.Abstract */)); |
| 93256 | } |
| 93257 | function visitGetAccessor(node) { |
| 93258 | if (!shouldEmitAccessorDeclaration(node)) { |
| 93259 | return undefined; |
no outgoing calls
no test coverage detected