We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7119165 commit b416bf2Copy full SHA for b416bf2
src/services/services.ts
@@ -3793,15 +3793,15 @@ module ts {
3793
return undefined;
3794
}
3795
3796
+ if (isLabelName(node)) {
3797
+ return undefined;
3798
+ }
3799
+
3800
let symbol = typeInfoResolver.getSymbolAtLocation(node);
3801
if (!symbol) {
3802
// Try getting just type at this position and show
3803
switch (node.kind) {
3804
case SyntaxKind.Identifier:
- if(isLabelName(node)){
- return undefined;
- }
- // Fall through.
3805
case SyntaxKind.PropertyAccessExpression:
3806
case SyntaxKind.QualifiedName:
3807
case SyntaxKind.ThisKeyword:
0 commit comments