File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1107,7 +1107,7 @@ namespace ts.refactor.extractSymbol {
11071107 return { renameFilename, renameLocation, edits } ;
11081108
11091109 function transformFunctionInitializerAndType ( variableType : TypeNode | undefined , initializer : Expression ) : { variableType : TypeNode | undefined , initializer : Expression } {
1110- // If no contextual type exists there is noting to transfer to the function signature
1110+ // If no contextual type exists there is nothing to transfer to the function signature
11111111 if ( variableType === undefined ) return { variableType, initializer } ;
11121112 // Only do this for function expressions and arrow functions that are not generic
11131113 if ( ! isFunctionExpression ( initializer ) && ! isArrowFunction ( initializer ) || ! ! initializer . typeParameters ) return { variableType, initializer } ;
You can’t perform that action at this time.
0 commit comments