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 {
1107
1107
return { renameFilename, renameLocation, edits } ;
1108
1108
1109
1109
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
1111
1111
if ( variableType === undefined ) return { variableType, initializer } ;
1112
1112
// Only do this for function expressions and arrow functions that are not generic
1113
1113
if ( ! isFunctionExpression ( initializer ) && ! isArrowFunction ( initializer ) || ! ! initializer . typeParameters ) return { variableType, initializer } ;
You can’t perform that action at this time.
0 commit comments