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 @@ -2207,9 +2207,9 @@ namespace ts {
2207
2207
if ( currentFlow ) {
2208
2208
node . flowNode = currentFlow ;
2209
2209
}
2210
- checkStrictModeFunctionName ( < FunctionExpression > node ) ;
2211
- const bindingName = ( < FunctionExpression > node ) . name ? ( < FunctionExpression > node ) . name . text : "__function" ;
2212
- return bindAnonymousDeclaration ( < FunctionExpression > node , SymbolFlags . Function , bindingName ) ;
2210
+ checkStrictModeFunctionName ( node ) ;
2211
+ const bindingName = node . name ? node . name . text : "__function" ;
2212
+ return bindAnonymousDeclaration ( node , SymbolFlags . Function , bindingName ) ;
2213
2213
}
2214
2214
2215
2215
function bindPropertyOrMethodOrAccessor ( node : Declaration , symbolFlags : SymbolFlags , symbolExcludes : SymbolFlags ) {
You can’t perform that action at this time.
0 commit comments