(accessor)
| 18543 | } |
| 18544 | ts.getFirstConstructorWithBody = getFirstConstructorWithBody; |
| 18545 | function getSetAccessorValueParameter(accessor) { |
| 18546 | if (accessor && accessor.parameters.length > 0) { |
| 18547 | var hasThis = accessor.parameters.length === 2 && parameterIsThisKeyword(accessor.parameters[0]); |
| 18548 | return accessor.parameters[hasThis ? 1 : 0]; |
| 18549 | } |
| 18550 | } |
| 18551 | ts.getSetAccessorValueParameter = getSetAccessorValueParameter; |
| 18552 | /** Get the type annotation for the value parameter. */ |
| 18553 | function getSetAccessorTypeAnnotationNode(accessor) { |
no test coverage detected