We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f76528e commit 5f3c762Copy full SHA for 5f3c762
1 file changed
src/compiler/binder.ts
@@ -973,6 +973,10 @@ namespace ts {
973
else {
974
let bindingName = node.name ? node.name.text : "__class";
975
bindAnonymousDeclaration(node, SymbolFlags.Class, bindingName);
976
+ // Add name of class expression into the map for semantic classifier
977
+ if (node.name) {
978
+ classifiableNames[node.name.text] = node.name.text;
979
+ }
980
}
981
982
let symbol = node.symbol;
@@ -1062,4 +1066,4 @@ namespace ts {
1062
1066
: declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes);
1063
1067
1064
1068
1065
-}
1069
+}
0 commit comments