* Gets a value indicating whether we need to add statements to handle a rest parameter. * * @param node A ParameterDeclaration node. * @param inConstructorWithSynthesizedSuper A value indicating whether the parameter is * p
(node, inConstructorWithSynthesizedSuper)
| 99441 | * synthesized call to `super` |
| 99442 | */ |
| 99443 | function shouldAddRestParameter(node, inConstructorWithSynthesizedSuper) { |
| 99444 | return !!(node && node.dotDotDotToken && !inConstructorWithSynthesizedSuper); |
| 99445 | } |
| 99446 | /** |
| 99447 | * Adds statements to the body of a function-like node if it contains a rest parameter. |
| 99448 | * |
no outgoing calls
no test coverage detected