(node: ts.Node, expectedKind: ts.SyntaxKind)
| 1372 | } |
| 1373 | |
| 1374 | private checkNodeKind(node: ts.Node, expectedKind: ts.SyntaxKind) { |
| 1375 | if (node.kind !== expectedKind) { |
| 1376 | this.onError(node, `Unexpectedly got node kind ${node.kind} (expected ${expectedKind})`); |
| 1377 | } |
| 1378 | } |
| 1379 | |
| 1380 | private isExpressionNonStaticMethodDeclaration(expression: ts.Expression, output: JSXOutputState): boolean { |
| 1381 | const resolvedType = resolveTypeOfExpression(expression, output.typeChecker); |
no test coverage detected