File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2223,9 +2223,9 @@ namespace ts {
2223
2223
if ( currentFlow ) {
2224
2224
node . flowNode = currentFlow ;
2225
2225
}
2226
- checkStrictModeFunctionName ( < FunctionExpression > node ) ;
2227
- const bindingName = ( < FunctionExpression > node ) . name ? ( < FunctionExpression > node ) . name . text : "__function" ;
2228
- return bindAnonymousDeclaration ( < FunctionExpression > node , SymbolFlags . Function , bindingName ) ;
2226
+ checkStrictModeFunctionName ( node ) ;
2227
+ const bindingName = node . name ? node . name . text : "__function" ;
2228
+ return bindAnonymousDeclaration ( node , SymbolFlags . Function , bindingName ) ;
2229
2229
}
2230
2230
2231
2231
function bindPropertyOrMethodOrAccessor ( node : Declaration , symbolFlags : SymbolFlags , symbolExcludes : SymbolFlags ) {
You can’t perform that action at this time.
0 commit comments