File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -27269,6 +27269,7 @@ namespace ts {
27269
27269
case SyntaxKind.DefaultKeyword:
27270
27270
case SyntaxKind.FunctionKeyword:
27271
27271
case SyntaxKind.EqualsGreaterThanToken:
27272
+ case SyntaxKind.ClassKeyword:
27272
27273
return getSymbolOfNode(node.parent);
27273
27274
case SyntaxKind.ImportType:
27274
27275
return isLiteralImportTypeNode(node) ? getSymbolAtLocation(node.argument.literal) : undefined;
Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts'/>
2
+
3
+ ////[1].forEach(cla/*1*/ss {});
4
+ ////[1].forEach(cla/*2*/ss OK{});
5
+
6
+ verify . quickInfoAt ( "1" , "(local class) (Anonymous class)" ) ;
7
+ verify . quickInfoAt ( "2" , "(local class) OK" ) ;
8
+
Original file line number Diff line number Diff line change 8
8
//// property: string;
9
9
/////*invalid2*/ }
10
10
////
11
- ////cl/*invalid3*/ass bar imple/*invalid4*/ments IFoo {
11
+ ////class bar imple/*invalid4*/ments IFoo {
12
12
//// constructor( /*invalid5*/ ) {
13
13
////
14
14
//// }
You can’t perform that action at this time.
0 commit comments