(kind)
| 132348 | return ts.isSourceFileJS(sourceFile) && !ts.isCheckJsEnabledForFile(sourceFile, compilerOptions); |
| 132349 | } |
| 132350 | function isMemberCompletionKind(kind) { |
| 132351 | switch (kind) { |
| 132352 | case 0 /* CompletionKind.ObjectPropertyDeclaration */: |
| 132353 | case 3 /* CompletionKind.MemberLike */: |
| 132354 | case 2 /* CompletionKind.PropertyAccess */: |
| 132355 | return true; |
| 132356 | default: |
| 132357 | return false; |
| 132358 | } |
| 132359 | } |
| 132360 | function getJsxClosingTagCompletion(location, sourceFile) { |
| 132361 | // We wanna walk up the tree till we find a JSX closing element |
| 132362 | var jsxClosingElement = ts.findAncestor(location, function (node) { |
no outgoing calls
no test coverage detected