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 e6d91a4 commit bff8caaCopy full SHA for bff8caa
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