(signature)
| 18556 | } |
| 18557 | ts.getSetAccessorTypeAnnotationNode = getSetAccessorTypeAnnotationNode; |
| 18558 | function getThisParameter(signature) { |
| 18559 | // callback tags do not currently support this parameters |
| 18560 | if (signature.parameters.length && !ts.isJSDocSignature(signature)) { |
| 18561 | var thisParameter = signature.parameters[0]; |
| 18562 | if (parameterIsThisKeyword(thisParameter)) { |
| 18563 | return thisParameter; |
| 18564 | } |
| 18565 | } |
| 18566 | } |
| 18567 | ts.getThisParameter = getThisParameter; |
| 18568 | function parameterIsThisKeyword(parameter) { |
| 18569 | return isThisIdentifier(parameter.name); |
nothing calls this directly
no test coverage detected